chore(deps): update actions/checkout action to v4 #774
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" | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '14', '16', '18' ] | |
name: Lint on Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- run: npm ci --quiet | |
- run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '14', '16', '18' ] | |
name: Test on Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- run: npm ci --quiet | |
- run: npm test |