File tree Expand file tree Collapse file tree 2 files changed +18
-23
lines changed
Expand file tree Collapse file tree 2 files changed +18
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1313 release-type : node
1414 package-name : " @easyops-cn/brick-next-pipes"
1515 bump-minor-pre-major : true
16+ # The logic below handles the npm publication:
17+ - uses : actions/checkout@v2
18+ # these if statements ensure that a publication only occurs when
19+ # a new release is created:
20+ if : ${{ steps.release.outputs.release_created }}
21+ - uses : actions/setup-node@v1
22+ with :
23+ node-version : 14
24+ registry-url : ' https://registry.npmjs.org'
25+ if : ${{ steps.release.outputs.release_created }}
26+ - run : npm ci
27+ if : ${{ steps.release.outputs.release_created }}
28+ - run : npm run build
29+ if : ${{ steps.release.outputs.release_created }}
30+ - run : npm publish
31+ env :
32+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
33+ if : ${{ steps.release.outputs.release_created }}
You can’t perform that action at this time.
0 commit comments