Skip to content

Commit 815a1ff

Browse files
authored
1 parent ef5ae2c commit 815a1ff

4 files changed

+16
-4
lines changed

.github/workflows/DeploySvelte2tsxProd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
jobs:
99
deploy:
10+
permissions:
11+
id-token: write # OpenID Connect token needed for provenance
12+
1013
runs-on: ubuntu-latest
1114

1215
steps:
@@ -32,7 +35,7 @@ jobs:
3235
- run: |
3336
cd packages/svelte2tsx
3437
pnpm install
35-
pnpm publish --no-git-checks
38+
pnpm publish --provenance --no-git-checks
3639
3740
env:
3841
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/DeploySvelteCheckProd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
jobs:
99
deploy:
10+
permissions:
11+
id-token: write # OpenID Connect token needed for provenance
12+
1013
runs-on: ubuntu-latest
1114

1215
steps:
@@ -33,7 +36,7 @@ jobs:
3336
- run: |
3437
cd packages/svelte-check
3538
pnpm install
36-
pnpm publish --no-git-checks
39+
pnpm publish --provenance --no-git-checks
3740
3841
env:
3942
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/DeploySvelteLanguageServerProd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
jobs:
99
deploy:
10+
permissions:
11+
id-token: write # OpenID Connect token needed for provenance
12+
1013
runs-on: ubuntu-latest
1114

1215
steps:
@@ -32,7 +35,7 @@ jobs:
3235
- run: |
3336
cd packages/language-server
3437
pnpm install
35-
pnpm publish --no-git-checks
38+
pnpm publish --provenance --no-git-checks
3639
3740
env:
3841
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/DeployTypescriptPluginProd.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
jobs:
99
deploy:
10+
permissions:
11+
id-token: write # OpenID Connect token needed for provenance
12+
1013
runs-on: ubuntu-latest
1114

1215
steps:
@@ -32,7 +35,7 @@ jobs:
3235
- run: |
3336
cd packages/typescript-plugin
3437
pnpm install
35-
pnpm publish --no-git-checks
38+
pnpm publish --provenance --no-git-checks
3639
3740
env:
3841
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)