Skip to content

Commit c5411b0

Browse files
committed
fix: action workflow bug
1 parent 62796fd commit c5411b0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v3
1616
with:
1717
node-version: 16
18+
- run: npm install
1819
- run: npm test
1920

2021
publish-gpr:
@@ -33,6 +34,7 @@ jobs:
3334
- name: Update package.json name
3435
run: sed -i '2,2s/node-sql-parser/@taozhi8833998\/node-sql-parser/g' package.json
3536
- run: echo registry=https://npm.pkg.github.com/taozhi8833998 >> .npmrc
37+
- run: npm install
3638
- run: npm build
3739
- run: cd output/prod && npm publish
3840
env:

0 commit comments

Comments
 (0)