Skip to content

Commit c6104a7

Browse files
committed
fix(ci): pass secrets
1 parent 5f5b4cc commit c6104a7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
permissions:
77
contents: write
88
pull-requests: write
9-
actions: write
109
jobs:
1110
test:
1211
uses: ./.github/workflows/test-workflow.yml
@@ -37,3 +36,5 @@ jobs:
3736
uses: ./.github/workflows/publish.yml
3837
permissions:
3938
id-token: write
39+
secrets:
40+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
type: string
77
default: 'latest'
88
description: 'The dist-tag to publish to'
9+
secrets:
10+
NPM_TOKEN:
11+
required: true
912
jobs:
1013
publish:
1114
name: Publish

0 commit comments

Comments
 (0)