File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Release (main)
2-
31on :
42 push :
53 branches :
119 permissions :
1210 contents : read
1311 id-token : write # CRITICAL: This enables OIDC authentication
12+ packages : write
1413
1514 steps :
1615 - name : Checkout
3837 - name : Build library
3938 run : npm run build
4039
40+ # ---- Debugging steps (temporary) ----
41+ - name : List built package folder
42+ run : |
43+ echo "Listing dist/ngbootstrap:"
44+ ls -la dist/ngbootstrap || true
45+
46+ - name : Show package.json to be published
47+ run : |
48+ echo "dist/ngbootstrap/package.json contents:"
49+ cat dist/ngbootstrap/package.json || true
50+
51+ - name : Check npm auth (whoami)
52+ run : |
53+ echo "npm whoami (shows authenticated identity if OIDC worked):"
54+ npm whoami --registry=https://registry.npmjs.org || true
55+ # -------------------------------------
56+
4157 - name : Publish to npm
42- # OIDC handles authentication automatically now.
4358 working-directory : dist/ngbootstrap
44- run : npm publish --provenance --access public # publish the built package only
59+ run : npm publish --provenance --access public
You can’t perform that action at this time.
0 commit comments