Skip to content

Commit

Permalink
npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Nov 9, 2024
1 parent 6bc09e9 commit c73c923
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
needs: test
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -37,7 +38,7 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn ci

- run: npm publish
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "apigen-ts",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"author": "vladkens <[email protected]>",
"repository": "vladkens/apigen-ts",
Expand Down

0 comments on commit c73c923

Please sign in to comment.