Skip to content

Commit

Permalink
feat: add npm test in publish Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWeber committed Nov 23, 2021
1 parent b5b3b3a commit 2fe7282
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
node-version: 16
- run: npm install
- run: npm run lint
- run: npm run test
- run: npm test
- run: npm run compile
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run lint
- run: npm test
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 2fe7282

Please # to comment.