Skip to content

Commit 7d7e99a

Browse files
updated release workflow
1 parent 39e7a6c commit 7d7e99a

1 file changed

Lines changed: 2 additions & 19 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,8 @@ jobs:
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

0 commit comments

Comments
 (0)