File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- uses : google-github-actions/release-please-action@v3
11
+ id : release
11
12
with :
12
13
release-type : node
13
14
package-name : bootstrap-vue-3
14
15
bump-minor-pre-major : true
15
16
bump-patch-for-minor-pre-major : true
17
+ # The logic below handles the npm publication:
18
+ - uses : actions/checkout@v2
19
+ # these if statements ensure that a publication only occurs when
20
+ # a new release is created:
21
+ if : ${{ steps.release.outputs.release_created }}
22
+ - uses : actions/setup-node@v1
23
+ with :
24
+ node-version : 12
25
+ registry-url : ' https://registry.npmjs.org'
26
+ if : ${{ steps.release.outputs.release_created }}
27
+ - run : npm ci
28
+ if : ${{ steps.release.outputs.release_created }}
29
+ - run : npm publish
30
+ env :
31
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
32
+ if : ${{ steps.release.outputs.release_created }}
You can’t perform that action at this time.
0 commit comments