Skip to content

feat: update to use Node 20 #60

feat: update to use Node 20

feat: update to use Node 20 #60

Workflow file for this run

name: 'CI'
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
push:
branches:
- master
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Commit begins with supported commit type
uses: gsactions/commit-message-checker@v1
with:
pattern: '^(feat|fix|docs|style|refactor|test|chore).+'
error: 'Commit messages must begin with a valid commit type. See "Commit Style" under CONTRIBUTING.md for more details.'
excludeDescription: 'true'
excludeTitle: 'true'
checkAllCommitMessages: 'true'
accessToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install
run: npm ci
- name: Lint
run: npm run lint