Skip to content

Commit 78b3c67

Browse files
Update npm-publish-github-packages.yml
1 parent a400c54 commit 78b3c67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
with:
3030
node-version: 16
3131
registry-url: https://npm.pkg.github.com/
32+
scope: '@taozhi8833998'
3233
- name: Update package.json name
3334
run: sed -i '2,2s/"name": "node-sql-parser"/"name": "@taozhi8833998\/node-sql-parser"/g' package.json
34-
- name: Update package.json registry-url
35-
run: sed -i 's/https:\/\/registry.npmjs.org/https:\/\/npm.pkg.github.com/g' package.json
35+
- run: echo registry=https://npm.pkg.github.com/taozhi8833998 >> .npmrc
3636
- run: npm build
3737
- run: cd output/prod && npm publish
3838
env:

0 commit comments

Comments
 (0)