File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
node-version : 12
18
18
- name : Install dependencies
19
19
run : npm install
20
- # TODO run build:package and prepare npm package for release
20
+ - name : Build Package
21
+ run : npm run build
21
22
- name : Release
22
23
env :
23
24
GITHUB_TOKEN : ${{ secrets.RELEASE_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 40
40
"test" : " react-scripts test" ,
41
41
"eject" : " react-scripts eject" ,
42
42
"storybook" : " start-storybook -p 9090 -s public" ,
43
- "prepublishOnly" : " npm run build" ,
44
43
"build" : " npm run build:babel && cp ./package.json ./dist/package.json && cp ./README.md ./dist/README.md" ,
45
44
"dist" : " npm run build && cd dist && npm publish" ,
46
45
"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" ,
You can’t perform that action at this time.
0 commit comments