Bump the jest group with 3 updates (#42) #113
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: ci | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-and-typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "npm" | |
- name: Cache node_modules/.cache directory | |
uses: actions/cache@v4 | |
with: | |
path: node_modules/.cache | |
key: node-modules-dot-cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}-${{ github.run_id }} | |
restore-keys: | | |
node-modules-dot-cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}- | |
- run: npm ci --prefer-offline --no-audit | |
- run: npm run prettier | |
- run: npm run test:ci | |
- run: npm run eslint | |
- run: npm run build |