Skip to content

Commit 15770a0

Browse files
committed
ci: setup publishing oicd
1 parent c663f4d commit 15770a0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/publish-to-npm-on-tag.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- 'chrome-devtools-mcp-v*'
77

8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
812
jobs:
913
publish:
1014
runs-on: ubuntu-latest
@@ -30,10 +34,5 @@ jobs:
3034
run: npm run build
3135

3236
- name: Publish
33-
env:
34-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
35-
TAG_NAME: ${{github.ref_name}}
3637
run: |
37-
npm config set registry 'https://wombat-dressing-room.appspot.com/'
38-
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
3938
npm publish --provenance --access public

0 commit comments

Comments
 (0)