Skip to content

Commit a9992a8

Browse files
authored
chore(node): use Node.js v20 via .nvmrc file (#9)
1 parent 0904b8b commit a9992a8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build-and-test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v4
27+
2728
- name: Install Node
2829
uses: actions/setup-node@v4
2930
with:
30-
node-version: "20.x"
31+
node-version-file: ".nvmrc"
32+
3133
- name: Install dependencies
3234
run: "npm install"
35+
3336
- name: Run tests
3437
run: npm test
3538
env:

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20

0 commit comments

Comments
 (0)