CMR-10132: Fix stac-browser Stac item and collection search unmapped … #257
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: STAC Tests | |
on: | |
push: | |
branches: | |
- "master" | |
- "[0-9]+\\.[0-9]+\\.[0-9]+-r[0-9]{2}\\.[0-9]\\.[0-9]" | |
- "[0-9]+\\.[0-9]+\\.x" | |
pull_request: | |
branches: ["master"] | |
jobs: | |
UnitTests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
node_version: [18] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Tests with Coverage | |
run: npm run test:coverage | |
env: | |
CI: "true" | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |