Skip to content

Commit

Permalink
fix: build before npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
amilajack committed Sep 3, 2022
1 parent 3cff397 commit 3b27be5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_OPTIONS: --openssl-legacy-provider
run: npx semantic-release
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dist"
],
"scripts": {
"build": "rm -rf dist && tsc && npm run build-storybook && rm -rf storybook-static",
"build": "rm -rf dist && tsc",
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages",
"docs": "rm -rf docs && typedoc ./src --out",
Expand All @@ -39,7 +39,8 @@
"release": "standard-version",
"start": "npm run storybook",
"storybook": "start-storybook -p 6006",
"test": "npm run build && jest && tsc"
"test": "npm run build && jest && tsc",
"version": "npm run build"
},
"commitlint": {
"extends": [
Expand Down

0 comments on commit 3b27be5

Please sign in to comment.