Skip to content

Viewpoints HD to Trek and OutdoorSite detail page #1283

Viewpoints HD to Trek and OutdoorSite detail page

Viewpoints HD to Trek and OutdoorSite detail page #1283

name: Install and test
on: [pull_request]
jobs:
install-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
id: cache-node-modules
uses: actions/setup-node@v3
with:
node-version-file: ./frontend/.nvmrc
cache: "yarn"
cache-dependency-path: "**/yarn.lock"
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
working-directory: ./frontend
- name: Check types
run: yarn tsc
working-directory: ./frontend
- name: Run tests
run: yarn test:coverage
working-directory: ./frontend
- name: Check linter
run: yarn lint
working-directory: ./frontend