Skip to content

Commit

Permalink
chore(node): use Node.js v20 via .nvmrc file (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Jul 8, 2024
1 parent 0904b8b commit a9992a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version-file: ".nvmrc"

- name: Install dependencies
run: "npm install"

- name: Run tests
run: npm test
env:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20

0 comments on commit a9992a8

Please sign in to comment.