Skip to content

Commit

Permalink
Change to public provenance npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mischabraam committed Sep 5, 2024
1 parent 7343f32 commit 532d56b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ on:
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm publish
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"website": "https://iodigital.com"
},
"license": "proprietary",
"repository": {
"url": "https://github.com/iodigital-com/criticalcss"
},
"dependencies": {
"critical": "^4.0.1"
},
Expand Down

0 comments on commit 532d56b

Please sign in to comment.