Skip to content

CMR-10210: Fix 502 gateway error on cmr-stac index.html/documentation & CMR-10208: Add content type in stac response to match service-desc #286

CMR-10210: Fix 502 gateway error on cmr-stac index.html/documentation & CMR-10208: Add content type in stac response to match service-desc

CMR-10210: Fix 502 gateway error on cmr-stac index.html/documentation & CMR-10208: Add content type in stac response to match service-desc #286

Workflow file for this run

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 }}