Use smarter way to obtain the exact run upon workflow dispatches #15
Workflow file for this run
This file contains hidden or 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 check | |
| on: [pull_request] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - uses: actions/checkout@v5 | |
| - name: npm install | |
| run: npm install | |
| - name: run ESLint | |
| run: npm run lint | |
| - name: run tests | |
| run: npm run test |