Skip to content

Use node16 for v2; the node20 will be used by v3 #800

Use node16 for v2; the node20 will be used by v3

Use node16 for v2; the node20 will be used by v3 #800

Workflow file for this run

---
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