File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 4747 - name : Build package
4848 run : npm run build
4949
50+ - name : Archive build artifacts
51+ if : github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' || github.ref == 'refs/heads/next'
52+ uses : actions/upload-artifact@v3
53+ with :
54+ name : dist
55+ path : dist
56+
5057 - name : Deploy Storybook
5158 if : github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
52595764 env :
5865 GH_TOKEN : ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
5966
67+ - uses : actions/download-artifact@v3
68+ with :
69+ name : dist
70+ path : dist
71+
6072 - name : Release
6173 if : github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
6274 env :
6375 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6476 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
65- run : npx semantic-release
77+ run : npx semantic-release --ci
Original file line number Diff line number Diff line change 1515 ],
1616 "repository" : {
1717 "type" : " git" ,
18- "url" : " https://github.com/daphnesmit/use-awesome-websocket"
18+ "url" : " git+ https://github.com/daphnesmit/use-awesome-websocket.git "
1919 },
2020 "scripts" : {
2121 "dev" : " concurrently \" npm run build --watch\" \" npm run storybook\" \" npm run test\" " ,
You can’t perform that action at this time.
0 commit comments