Skip to content

Commit

Permalink
ci(cd): publish to github packages with provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 17, 2024
1 parent 535691e commit db56d80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write
steps:
- name: Check out repo
Expand All @@ -89,4 +90,4 @@ jobs:
# Remove dev values from package.json before publishing to reduce package size
run: |
npm pkg delete commitlint devDependencies jest scripts
npm publish --ignore-scripts
npm publish --access public --ignore-scripts --provenance

0 comments on commit db56d80

Please sign in to comment.