Skip to content

Commit

Permalink
run build on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarlotta committed Mar 30, 2021
1 parent 220de1f commit 55b7c84
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 27 deletions.
24 changes: 0 additions & 24 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: npm i --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm build
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"format": "prettier --write \"src/**/*.js\" --loglevel warn",
"lint": "eslint -f @wisersolutions/eslint-formatter-idea ./src",
"test": "jest 'src/'",
"build": "transpile-js",
"prepublishOnly": "npm run build"
"build": "transpile-js"
},
"devDependencies": {
"@wisersolutions/eslint-config": "^2.0.6",
Expand Down

0 comments on commit 55b7c84

Please sign in to comment.