Use node16 for v2; the node20 will be used by v3 #800
Workflow file for this run
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: Linting suite | |
on: | |
push: | |
branches: [ main, node16 ] | |
pull_request: | |
branches: [ main, node16 ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Linters | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install | |
run: yarn install | |
- name: Build | |
run: yarn build | |
- name: Prettier | |
run: yarn run format-check | |
- name: ESLint | |
run: yarn run lint | |
# - name: Run CSpell | |
# run: yarn run lint:spellcheck |