Update actions/cache and actions/setup-node to v4 (#187) #635
This file contains hidden or 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: Run Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: main | |
| jobs: | |
| run-unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run Prettier (Check) | |
| run: yarn prettier:check | |
| - name: Run Typescheck | |
| run: yarn tsc --noEmit | |
| - name: Run Unit Tests | |
| run: yarn test --coverage |