Skip to content

Commit 3a8855f

Browse files
committed
refactor: move env
1 parent e717dcb commit 3a8855f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npm-publish-github-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
run: npm config set strict-ssl true
4343

4444
- run: npm run build
45-
- run: cd output/prod && npm publish
4645
env:
4746
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_NPM_TOKEN}}
47+
- run: cd output/prod && npm publish
4848

4949
publish-gpr:
5050
needs: build
@@ -72,6 +72,6 @@ jobs:
7272
run: sed -i '2,2s/node-sql-parser/@taozhi8833998\/node-sql-parser/g' package.json
7373
- run: echo registry=https://npm.pkg.github.com/taozhi8833998 >> .npmrc
7474
- run: npm run build
75-
- run: cd output/prod && npm publish
7675
env:
7776
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_GITHUB_TOKEN}}
77+
- run: cd output/prod && npm publish

0 commit comments

Comments
 (0)