Skip to content

Commit bd6770f

Browse files
committed
fix: ci
1 parent c267cf5 commit bd6770f

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313

14+
permissions:
15+
contents: read
16+
packages: write
17+
1418
jobs:
1519
publish:
1620
if: ${{ github.event.action != 'deleted' }}
@@ -35,8 +39,9 @@ jobs:
3539
- uses: actions/[email protected]
3640
with:
3741
node-version: 20
38-
registry-url: ${{ matrix.registry-url }}
39-
scope: ${{ matrix.scope }}
42+
registry-url: "${{ matrix.registry-url }}"
43+
scope: "${{ matrix.scope }}"
44+
always-auth: true
4045
- run: corepack enable
4146
- run: yarn
4247
- run: yarn publish --access public
@@ -66,8 +71,9 @@ jobs:
6671
- uses: actions/[email protected]
6772
with:
6873
node-version: 20
69-
registry-url: ${{ matrix.registry-url }}
70-
scope: ${{ matrix.scope }}
74+
registry-url: "${{ matrix.registry-url }}"
75+
scope: "${{ matrix.scope }}"
76+
always-auth: true
7177
- run: corepack enable
7278
- run: yarn
7379
- run: yarn unpublish --force

0 commit comments

Comments
 (0)