File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -21,23 +21,28 @@ jobs:
2121 with :
2222 fetch-depth : 0
2323
24- # --- Build ---
2524 - uses : actions/setup-node@v4
2625 with :
2726 node-version : " lts/*"
2827 cache : npm
2928 registry-url : " https://registry.npmjs.org"
3029 scope : " @allohouston"
30+
3131 - run : npm ci
3232 - run : npm run build
3333
34- # --- npmjs.com (Trusted Publisher via OIDC) ---
34+ # semantic-release: version bump, git tag, GitHub release (no npm publish)
3535 - run : npx semantic-release
3636 env :
3737 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38- NPM_CONFIG_PROVENANCE : true
3938
40- # --- GitHub Packages ---
39+ # npmjs.com via Trusted Publisher (OIDC)
40+ - run : npm publish --provenance --access public
41+ env :
42+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
43+ continue-on-error : true
44+
45+ # GitHub Packages
4146 - uses : actions/setup-node@v4
4247 with :
4348 node-version : " lts/*"
Original file line number Diff line number Diff line change 1616 [
1717 "@semantic-release/npm",
1818 {
19- "npmPublish": true,
20- "pkgRoot": "."
19+ "npmPublish": false
2120 }
2221 ],
2322 [
You can’t perform that action at this time.
0 commit comments