Skip to content

Commit

Permalink
Use .node-version (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack authored Nov 16, 2024
1 parent f644581 commit 4d5d249
Show file tree
Hide file tree
Showing 3 changed files with 3 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 @@ -42,7 +42,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
node-version-file: .node-version
cache: pnpm
- run: pnpm install
- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
node-version-file: .node-version
cache: pnpm
- name: Setup .npmrc
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20

0 comments on commit 4d5d249

Please sign in to comment.