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 d92fc5c commit 2102b71
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": "fractions-math",
"version": "1.3.1",
"version": "1.3.2",
"license": "MIT",
"scripts": {
"build": "rm -rf dist && pkgroll --minify && ls -lah dist",
Expand Down

0 comments on commit 2102b71

Please sign in to comment.