Skip to content

Commit b29153f

Browse files
committed
change the env variable position
1 parent 21dca22 commit b29153f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ env:
1717
jobs:
1818
publish-npm:
1919
runs-on: ubuntu-latest
20+
env:
21+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2022
steps:
2123
- uses: actions/checkout@v4
2224
- uses: actions/setup-node@v4
@@ -29,5 +31,4 @@ jobs:
2931
run: |
3032
npm whoami
3133
npm config get registry
32-
env:
33-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
34+

0 commit comments

Comments
 (0)