build(deps): bump pnpm/action-setup from 3 to 4 #138
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: 'Nest Package' | |
env: | |
CI: true | |
FORCE_COLOR: 1 | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'packages/nest/**' | |
- .github/workflows/nest.yml | |
- pnpm-lock.yaml | |
pull_request: | |
paths: | |
- 'packages/nest/**' | |
- .github/workflows/nest.yml | |
- pnpm-lock.yaml | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm -r --filter nest run lint | |
- run: pnpm -r --filter nest run test |