Do not try to import sentry server config if there is no SENTRY_DSN environnement key #2066
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: Install and test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CYPRESS_INSTALL_BINARY: 0 | |
jobs: | |
install-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
id: cache-node-modules | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ./frontend/.nvmrc | |
cache: "yarn" | |
cache-dependency-path: "**/yarn.lock" | |
- name: Install dependencies | |
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 |