Skip to content

Commit

Permalink
ci: use node-version file
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 3, 2025
1 parent adaaceb commit 5861fa9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: lts/*
node-version-file: '.node-version'
cache: 'pnpm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
node-version-file: '.node-version'
cache: pnpm
registry-url: 'https://registry.npmjs.org'

Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.12

0 comments on commit 5861fa9

Please sign in to comment.