Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34d78c4

Browse files
authored
Setup trusted publishers and provenance (#7867)
1 parent6f423e4 commit34d78c4

File tree

8 files changed

+14
-4
lines changed

8 files changed

+14
-4
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ jobs:
674674
shell:bash
675675

676676
publish:
677+
permissions:
678+
id-token:write
677679
needs:
678680
-test-installation-npm
679681
-test-installation-pnpm
@@ -701,11 +703,9 @@ jobs:
701703
shell:bash
702704

703705
-name:Publish packages on npm with tag "ci"
704-
env:
705-
YARN_NPM_AUTH_TOKEN:${{ secrets.NPM_ACCESS_TOKEN }}
706706
run:|
707707
yarn workspaces foreach -W --no-private \
708-
npm publish --tolerate-republish --tag ci
708+
npm publish --provenance --tolerate-republish --tag ci
709709
710710
-name:Update Website Playground
711711
run:curl -X POST "${{ secrets.CLOUDFLARE_PAGES_DEPLOYMENT_HOOK }}"

‎package.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
"Paul Tsnobiladzé (https://github.com/tsnobip)",
3535
"Woonki Moon (https://github.com/mununki)"
3636
],
37+
"publishConfig": {
38+
"access":"public",
39+
"provenance":true
40+
},
3741
"engines": {
3842
"node":">=20.11.0"
3943
},

‎packages/@rescript/darwin-arm64/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
],
2929
"publishConfig": {
3030
"access":"public",
31+
"provenance":true,
3132
"executableFiles": [
3233
"./bin/bsb_helper.exe",
3334
"./bin/bsc.exe",

‎packages/@rescript/darwin-x64/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
],
2929
"publishConfig": {
3030
"access":"public",
31+
"provenance":true,
3132
"executableFiles": [
3233
"./bin/bsb_helper.exe",
3334
"./bin/bsc.exe",

‎packages/@rescript/linux-arm64/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
],
2929
"publishConfig": {
3030
"access":"public",
31+
"provenance":true,
3132
"executableFiles": [
3233
"./bin/bsb_helper.exe",
3334
"./bin/bsc.exe",

‎packages/@rescript/linux-x64/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
],
2929
"publishConfig": {
3030
"access":"public",
31+
"provenance":true,
3132
"executableFiles": [
3233
"./bin/bsb_helper.exe",
3334
"./bin/bsc.exe",

‎packages/@rescript/runtime/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"Woonki Moon (https://github.com/mununki)"
2828
],
2929
"publishConfig": {
30-
"access":"public"
30+
"access":"public",
31+
"provenance":true
3132
},
3233
"files": [
3334
"lib"

‎packages/@rescript/win32-x64/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
],
2929
"publishConfig": {
3030
"access":"public",
31+
"provenance":true,
3132
"executableFiles": [
3233
"./bin/bsb_helper.exe",
3334
"./bin/bsc.exe",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp