update github actions #67
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: Quality Gate | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
quality-gate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- name: Run type checking | |
run: yarn type-check | |
- name: Run unit tests | |
run: yarn test |