CMR-9582 Making the values a def config so that they can be set in AW… #347
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |