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