Skip to content

Commit 95ffd25

Browse files
authored
fix: build before publish 2
1 parent 9f3e8ef commit 95ffd25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-storybook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ jobs:
149149
registry-url: "https://registry.npmjs.org"
150150
scope: "@devall"
151151
- run: yarn --frozen-lockfile
152+
- run: yarn build
152153
- run: yarn release
153154
env:
154155
# auto

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"build-storybook-docs": "build-storybook -s public --docs",
1919
"test": "react-scripts test",
2020
"chromatic": "chromatic",
21-
"release": "auto shipit",
22-
"prepublish": "yarn build"
21+
"release": "auto shipit"
2322
},
2423
"peerDependencies": {
2524
"react": ">=16.8.0",

0 commit comments

Comments
 (0)