chichiwang is running linting/testing on branch refs/heads/main #284
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: lint-test-node | |
run-name: ${{ github.actor }} is running linting/testing on branch ${{ github.ref }} | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.11.1 | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run test |