Skip to content

Commit

Permalink
chore: publish package provenance info (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm authored Aug 20, 2024
1 parent ef5ae2c commit 815a1ff
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/DeploySvelte2tsxProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
deploy:
permissions:
id-token: write # OpenID Connect token needed for provenance

runs-on: ubuntu-latest

steps:
Expand All @@ -32,7 +35,7 @@ jobs:
- run: |
cd packages/svelte2tsx
pnpm install
pnpm publish --no-git-checks
pnpm publish --provenance --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/DeploySvelteCheckProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
deploy:
permissions:
id-token: write # OpenID Connect token needed for provenance

runs-on: ubuntu-latest

steps:
Expand All @@ -33,7 +36,7 @@ jobs:
- run: |
cd packages/svelte-check
pnpm install
pnpm publish --no-git-checks
pnpm publish --provenance --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/DeploySvelteLanguageServerProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
deploy:
permissions:
id-token: write # OpenID Connect token needed for provenance

runs-on: ubuntu-latest

steps:
Expand All @@ -32,7 +35,7 @@ jobs:
- run: |
cd packages/language-server
pnpm install
pnpm publish --no-git-checks
pnpm publish --provenance --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/DeployTypescriptPluginProd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
deploy:
permissions:
id-token: write # OpenID Connect token needed for provenance

runs-on: ubuntu-latest

steps:
Expand All @@ -32,7 +35,7 @@ jobs:
- run: |
cd packages/typescript-plugin
pnpm install
pnpm publish --no-git-checks
pnpm publish --provenance --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 815a1ff

Please sign in to comment.