build(deps): bump actions/checkout from 3 to 4 #83
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: Test | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Run Tests and Generate Coverage Report | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Cache Turborepo Tasks | |
uses: actions/cache@v3 | |
with: | |
path: ${{ github.workspace }}/node_modules/.cache/turbo | |
key: ${{ runner.os }}-turbo-test-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: ${{ runner.os }}-turbo- | |
- run: pnpm install | |
- run: pnpm lint | |
- run: pnpm cov |