[PR] Tests pass and build is successful #2
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: '[PR] Tests pass and build is successful' | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
check-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm test | |
- run: pnpm build |