Skip to content

Commit b22481e

Browse files
committed
ci: fix workflow
1 parent c4864bd commit b22481e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/canary-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
workflow_dispatch:
55

66
permissions:
7+
id-token: write
78
contents: read
89

910
jobs:

.github/workflows/release.yml

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

8+
permissions:
9+
id-token: write
10+
contents: read
11+
812
jobs:
913
publish:
1014
name: Publish
@@ -22,15 +26,10 @@ jobs:
2226
run: |
2327
git config user.name noneflow[bot]
2428
git config user.email 129742071+noneflow[bot]@users.noreply.github.com
25-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
26-
env:
27-
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2829
2930
- name: Installation
3031
run: yarn
3132

3233
- name: Publish release
3334
run: |
34-
yarn lerna publish from-package --yes --no-verify-access
35-
env:
36-
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
35+
yarn lerna publish from-package --yes

0 commit comments

Comments
 (0)