Update package for Node.js v20 #18
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: | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
lint: | |
name: 'Lint' | |
runs-on: 'ubuntu-22.04' | |
steps: | |
- name: 'Checkout the current branch' | |
uses: 'actions/checkout@v3' | |
- name: 'Setup Node' | |
uses: 'actions/setup-node@v3' | |
with: | |
node-version: 20 | |
- name: 'Install Node modules' | |
run: 'npm ci' | |
- name: 'Run lint' | |
run: 'npm run lint' |