Skip to content

Commit

Permalink
Merge pull request #1779 from taozhi8833998/refactor-move-env
Browse files Browse the repository at this point in the history
refactor: move env
  • Loading branch information
taozhi8833998 authored Jan 27, 2024
2 parents a17195f + 3a8855f commit 0cea048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
run: npm config set strict-ssl true

- run: npm run build
- run: cd output/prod && npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_NPM_TOKEN}}
- run: cd output/prod && npm publish

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

0 comments on commit 0cea048

Please sign in to comment.