Skip to content

Commit 3ab8183

Browse files
committed
chore(github-actions): use .nvmrc to set node version
1 parent 4a1d7f2 commit 3ab8183

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 18
21+
node-version-file: '.nvmrc'
2222
- name: Install sg
2323
run: npm install -g @ast-grep/cli
2424
- name: Install deps

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 18
20+
node-version-file: '.nvmrc'
2121
- name: Install deps
2222
run: npm install
2323
- name: Install vsce

0 commit comments

Comments
 (0)