Skip to content

Commit

Permalink
fix(added steps to github action): added npm ci and npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
Swalah Codes committed Jul 2, 2024
1 parent 49d97c2 commit f1412b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test


publish-npm:
Expand All @@ -28,7 +30,7 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/

- run: npm ci
- run: npm run semantic-release
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand Down

0 comments on commit f1412b9

Please sign in to comment.