Skip to content

Commit 04bc86c

Browse files
authored
Merge pull request #5 from mayank1513/actions
fix actions
2 parents 5daa263 + 4bac122 commit 04bc86c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-to-npm-on-new-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
node-version: 16
1515
registry-url: https://registry.npmjs.org
1616
- name: Unit Testing
17-
run: npm run test
17+
run: npm i && npm run test
1818

1919
- name: Update version
2020
run: |
2121
git config --global user.name "mayank1513"
2222
git config --global user.email "mayank-automate@noreply.github.com"
2323
git fetch
2424
git checkout main
25-
npm i && npm version patch
25+
npm version patch
2626
npm -v
2727
git push origin main
2828
- run: npm run publish-package

0 commit comments

Comments
 (0)