Skip to content

Commit 754975b

Browse files
committed
chore(workflow): update node version and fetch depth in npm publish workflow
- Upgraded node version from 22.x to 24.x in the publish-to-npm-alpha.yml workflow. - Added fetch-depth configuration to the checkout step to ensure complete repository history is available.
1 parent 124a953 commit 754975b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish-to-npm-alpha.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ jobs:
1515
steps:
1616
- name: Pull code
1717
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
1820
- name: Set up node.js
1921
uses: actions/setup-node@v4
2022
with:
21-
node-version: "22.x"
23+
node-version: "24.x"
24+
registry-url: "https://registry.npmjs.org"
2225
- name: Install dependencies
2326
run: yarn
2427
- name: Build
@@ -35,7 +38,7 @@ jobs:
3538
- name: Set up node.js
3639
uses: actions/setup-node@v4
3740
with:
38-
node-version: "22.x"
41+
node-version: "24.x"
3942
- name: Install Dependencies
4043
run: yarn
4144
- name: Run Tests

0 commit comments

Comments
 (0)