Skip to content

Commit

Permalink
chore(github-actions): use .nvmrc to set node version
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Feb 7, 2024
1 parent 4a1d7f2 commit 3ab8183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: '.nvmrc'
- name: Install sg
run: npm install -g @ast-grep/cli
- name: Install deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: '.nvmrc'
- name: Install deps
run: npm install
- name: Install vsce
Expand Down

0 comments on commit 3ab8183

Please sign in to comment.