Skip to content

Commit 8cd1732

Browse files
committed
chore: updates permissions and official oidc config setup for release workflow
1 parent 84050c6 commit 8cd1732

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1010
permissions:
1111
id-token: write # Required for OIDC
1212
contents: write
13+
pull-requests: write
1314

1415
jobs:
1516
release:
@@ -24,6 +25,9 @@ jobs:
2425
with:
2526
node-version: 20
2627

28+
- name: Update NPM to latest
29+
run: npm install -g npm@latest
30+
2731
- name: Install Dependencies
2832
run: yarn
2933

@@ -34,7 +38,6 @@ jobs:
3438
title: "chore: version packages"
3539
commit: "chore: version packages"
3640
publish: yarn changeset:publish
41+
oidcAuth: true
3742
env:
38-
# Use OIDC for npm authentication instead of NPM_TOKEN
39-
NPM_TOKEN: "" # https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
4043
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,5 @@
7979
},
8080
"peerDependencies": {
8181
"playwright-core": ">1.0"
82-
},
83-
"publishConfig": {
84-
"provenance": true
8582
}
8683
}

0 commit comments

Comments
 (0)