Skip to content

Commit 1056bc2

Browse files
committed
ci: use npm trusted publishing
1 parent b92ca54 commit 1056bc2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,15 @@ jobs:
2525
node-version: 24
2626
cache: "yarn"
2727
- run: yarn install --immutable
28+
- name: Verify npm trusted publishing prerequisites
29+
run: |
30+
node --version
31+
npm --version
32+
test "$(npm --version | cut -d. -f1)" -ge 11
2833
- name: Create Release PR or Publish
2934
id: changesets
3035
uses: changesets/action@v1
3136
with:
3237
publish: yarn changeset publish
3338
env:
3439
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)