Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit 4767c43

Browse files
committed
Print value in publish pipeline
1 parent 4d01fd2 commit 4767c43

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,8 @@ jobs:
3030
3131
- name: Publish to NPM
3232
run: |
33+
echo "NPM_TOKEN: ${{ secrets.NPM_TOKEN }}"
34+
npm whoami
3335
npm publish --access=public
3436
env:
3537
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36-
37-
debug:
38-
runs-on: ubuntu-latest
39-
needs: publish
40-
if: always()
41-
42-
steps:
43-
- name: Set Environment Variables
44-
run: echo "NPM_TOKEN=${{ secrets.NPM_TOKEN }}" >> $GITHUB_ENV
45-
46-
- name: Debug Info
47-
run: |
48-
echo "Variable: $NPM_TOKEN"
49-
echo "NPM_TOKEN: ${{ secrets.NPM_TOKEN }}"
50-
npm whoami

0 commit comments

Comments
 (0)