Skip to content

Commit

Permalink
feat(workflow): add npm options for provenance and access
Browse files Browse the repository at this point in the history
Added NPM_OPTIONS to the release workflow to include provenance and set
access to public. This ensures that the package is published with
provenance and is accessible publicly.
  • Loading branch information
ryoppippi committed Aug 30, 2024
1 parent 65a687b commit b020c7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
PACKAGE_DESCRIPTION: "unplugin for typia"
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Set your npm token as a GitHub secret
NPM_CONFIG_PROVENANCE: true # If you publish with provenance
NPM_OPTIONS: "--provenance --access public"

release:
needs:
Expand Down

0 comments on commit b020c7b

Please sign in to comment.