ci: use Node v20 #14
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: Checks | |
on: [pull_request] | |
env: | |
# reduces noise from npm post-install scripts | |
DISABLE_OPENCOLLECTIVE: true | |
OPEN_SOURCE_CONTRIBUTOR: true | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Commit Linter | |
uses: wagoid/commitlint-github-action@v6 | |
with: | |
configFile: './package.json' | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: npm | |
- run: npm ci | |
- run: npm run validate |