Merge pull request #39 from himynameisdave/dependabot/npm_and_yarn/sv… #27
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CI: true | |
jobs: | |
test: | |
name: "Test on Node.js ${{ matrix.node-version }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18, 20] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install | |
run: yarn install | |
- name: Lint | |
run: yarn lint |