Skip to content

Commit 18c6514

Browse files
authored
Merge pull request #136 from flagship-io/cd-migration
chore: add permissions for id-token in npm CD workflow
2 parents 46eb9b6 + c177d2c commit 18c6514

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/npm-cd-latest.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
push:
44
tags:
55
- "5.[0-9]+.[0-9]+"
6+
7+
permissions:
8+
id-token: write
9+
610
jobs:
711
build:
812
runs-on: ubuntu-latest
@@ -24,5 +28,3 @@ jobs:
2428
- run: yarn test --coverage
2529
- run: yarn build --provenance --access public
2630
- run: npm publish
27-
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)