Skip to content

Commit 842800d

Browse files
committed
fix: move build out of publishing process
1 parent b9e7481 commit 842800d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-on-master.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
node-version: 12
1818
- name: Install dependencies
1919
run: npm install
20-
# TODO run build:package and prepare npm package for release
20+
- name: Build Package
21+
run: npm run build
2122
- name: Release
2223
env:
2324
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"test": "react-scripts test",
4141
"eject": "react-scripts eject",
4242
"storybook": "start-storybook -p 9090 -s public",
43-
"prepublishOnly": "npm run build",
4443
"build": "npm run build:babel && cp ./package.json ./dist/package.json && cp ./README.md ./dist/README.md",
4544
"dist": "npm run build && cd dist && npm publish",
4645
"build:babel": "NODE_ENV=production babel ./src --ignore \"src/**/*.story.js\" --out-dir=./dist && rm dist/index.js && cp dist/lib.js dist/index.js",

0 commit comments

Comments
 (0)