File tree Expand file tree Collapse file tree 3 files changed +18
-24
lines changed Expand file tree Collapse file tree 3 files changed +18
-24
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : google-github-actions/release-please-action@v3
12
+ id : release
12
13
with :
13
- command : manifest
14
+ release-type : node
15
+ package-name : ' @fastly/js-compute'
16
+ changelog-path : ' CHANGELOG.md'
17
+ bump-minor-pre-major : true
18
+ bump-patch-for-minor-pre-major : true
19
+ draft : false
20
+ prerelease : false
14
21
token : ${{ secrets.JS_COMPUTE_RUNTIME_GITHUB_TOKEN }}
15
- - uses : actions/checkout@v2
16
- if : ${{ steps.release.outputs.releases_created }}
17
- - uses : actions/setup-node@v2
22
+
23
+ - uses : actions/checkout@v3
24
+ if : ${{ steps.release.outputs.release_created }}
25
+
26
+ - uses : actions/setup-node@v3
27
+ if : ${{ steps.release.outputs.release_created }}
18
28
with :
19
29
cache : ' npm'
20
30
node-version : 18
21
31
registry-url : ' https://registry.npmjs.org'
22
- if : ${{ steps.release.outputs.releases_created }}
32
+
23
33
- run : npm ci && npm run build
24
- if : ${{ steps.release.outputs.releases_created }}
34
+ if : ${{ steps.release.outputs.release_created }}
35
+
25
36
- run : npm publish
37
+ if : ${{ steps.release.outputs.release_created }}
26
38
env :
27
39
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
28
40
FASTLY_API_TOKEN : ${{secrets.FASTLY_API_TOKEN}}
29
- if : ${{ steps.release.outputs.releases_created }}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments