Skip to content

Commit 3030876

Browse files
authored
ci: Update publishing token (#875)
* Use `NPM_PUBLISHING_TOKEN` to publish * Remove tokens from `yarn install` step
1 parent fa1436c commit 3030876

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,9 @@ jobs:
6666

6767
- name: Build and publish release.
6868
run: yarn install
69-
env:
70-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7269

7370
- name: Publish via Semantic Release
7471
run: yarn semantic-release
7572
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_PUBLISHING_TOKEN }}
7774
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)