Merge pull request #30 from wnfs-wg/dependabot/npm_and_yarn/uint8arra… #31
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@v2 | |
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 |