Skip to content

Chore(ci): Use node version file instead of version number in CI jobs #411

Chore(ci): Use node version file instead of version number in CI jobs

Chore(ci): Use node version file instead of version number in CI jobs #411

Workflow file for this run

name: Commitlint
on:
push:
branches-ignore:
- main
jobs:
commitlint:
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 50
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Fetch main
run: git fetch --no-tags --depth=50 origin main
- name: Install dependencies
run: make install
- name: Commitlint
run: npx commitlint --color --verbose --from $(git merge-base origin/main HEAD)