Skip to content

Commit 99df7ab

Browse files
authored
Update release workflow for npm configuration
1 parent a7a02d4 commit 99df7ab

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ jobs:
2626
with:
2727
node-version: 22
2828
cache: npm
29+
registry-url: "https://registry.npmjs.org"
30+
31+
- name: Update npm
32+
run: npm install -g npm@latest
2933

3034
- name: Install Dependencies
3135
run: npm ci
3236

3337
- name: Create Release PR or Publish
34-
uses: changesets/action@v1.4.6
38+
uses: changesets/action@v1.5.3
3539
with:
3640
publish: npx changeset publish
3741
env:
3842
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)