Preserve pnpm lockfile version when pruning #162
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: Main | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
everything: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint syntax | |
run: pnpm lint | |
- name: Lint formatting | |
run: pnpm lint:format | |
- name: Check types | |
run: pnpm compile | |
- name: Test | |
run: pnpm test | |
- name: Build | |
run: pnpm build |