Skip to content

Commit

Permalink
build: add .nvmrc and update workflow build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Aug 27, 2024
1 parent 450ffa2 commit 5a4823c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: .nvmrc

- name: Install dependencies
run: npm install
run: npm ci --prefer-offline

- name: Lint commit message
run: npx commitlint --from=HEAD~1
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20

0 comments on commit 5a4823c

Please sign in to comment.