File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 - name : Build library
3838 run : npm run build
3939
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- npm config list --userconfig /home/runner/work/_temp/.npmrc
56- npm config get //registry.npmjs.org/:_authToken --userconfig /home/runner/work/_temp/.npmrc
57- # -------------------------------------
58-
5940 - name : Publish to npm
6041 working-directory : dist/ngbootstrap
42+ env :
43+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6144 run : npm publish --provenance --access public
You can’t perform that action at this time.
0 commit comments