Skip to content

Commit 21ce5e4

Browse files
authored
fix: switch to npm trusted publishing (OIDC) (#10)
* chore: add changeset for widget inline mode * fix: switch to npm trusted publishing (OIDC) instead of NPM_TOKEN
1 parent b354641 commit 21ce5e4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Test
3636
run: pnpm test
3737

38+
- name: Ensure npm supports OIDC
39+
run: npm install -g npm@latest
40+
3841
- name: Create Release PR or Publish
3942
id: changesets
4043
uses: changesets/action@v1
@@ -43,7 +46,6 @@ jobs:
4346
title: 'chore: version packages'
4447
env:
4548
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4749

4850
- name: Deploy website to Vercel
4951
if: steps.changesets.outputs.published == 'true'

0 commit comments

Comments
 (0)