File tree Expand file tree Collapse file tree 3 files changed +5
-30
lines changed Expand file tree Collapse file tree 3 files changed +5
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Release Package
55
66on :
77 push :
8- branches :
8+ branches :
99 - master
1010
1111jobs :
2828 ${{ runner.os }}-yarn-
2929 - run : yarn
3030 - run : yarn test
31- - run : npx semantic-release
31+ - run : yarn global add semantic-release
32+ - run : semantic-release
3233 env :
3334 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
3435 NPM_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 1414 " dist"
1515 ],
1616 "scripts" : {
17- "test" : " npm run build " ,
17+ "test" : " echo skip " ,
1818 "lint" : " xo" ,
19- "prepublish " : " npm run build" ,
19+ "prepublishOnly " : " npm run build" ,
2020 "build" : " npm run build:umd && npm run build:cjs" ,
2121 "build:umd" : " bili --file-name \" vue-prism-component[min].js\" --format umd --format umd-min --env.NODE_ENV production --module-name PrismComponent --external prismjs" ,
2222 "build:cjs" : " bili --file-name \" vue-prism-component.common.js\" --format cjs"
You can’t perform that action at this time.
0 commit comments