Skip to content

EDSC-3935 adds redis cache serverless deployment for browse-scaler #26

EDSC-3935 adds redis cache serverless deployment for browse-scaler

EDSC-3935 adds redis cache serverless deployment for browse-scaler #26

Workflow file for this run

name: browse-scaler Node.js CI
on:
push:
branch:
- 'master'
paths:
- 'browse-scaler/**'
pull_request:
paths:
- 'browse-scaler/**'
jobs:
build:
runs-on: ubuntu-latest
env:
CMR_ENVIRONMENT: 'ci'
CMR_ROOT: 'cmr.ci-test.earthdata.nasa.gov'
CMR_ECHO_TOKEN: 'ci-test-token'
defaults:
run:
working-directory: browse-scaler/src
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: 18
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 7
- run: npm install
- run: npm run test
- uses: codecov/codecov-action@v2
with:
name: browse-scaler-coverage