Skip to content

Commit

Permalink
Try to run tests during deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrow7000 committed Jul 28, 2022
1 parent 022f452 commit ef2f95c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: npm publish --access public
- run: yarn build
- run: yarn test
- run: yarn npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qew",
"version": "0.11.1",
"version": "0.11.2",
"description": "Queue asynchronous functions",
"source": "qew.ts",
"main": "dist/qew.js",
Expand All @@ -11,7 +11,7 @@
"start": "microbundle watch",
"build": "microbundle",
"watch": "tsc -w",
"prepublish": "npm run build",
"prepublish": "yarn build",
"test": "jest"
},
"keywords": [
Expand Down

0 comments on commit ef2f95c

Please sign in to comment.