Skip to content

Set anchors to navigate between sections of details pages #1200

Set anchors to navigate between sections of details pages

Set anchors to navigate between sections of details pages #1200

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