File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,21 +23,22 @@ jobs:
23
23
- name : Checkout Repository
24
24
# these if statements ensure that a publication only occurs when
25
25
# a new release is created:
26
- if : ${{ steps.release.outputs.releases_created }}
26
+ if : ${{ steps.release.outputs.release_created }}
27
+
27
28
uses : actions/checkout@v4
28
29
- name : Setup Node
29
30
uses : actions/setup-node@v4
30
- if : ${{ steps.release.outputs.releases_created }}
31
+ if : ${{ steps.release.outputs.release_created }}
31
32
with :
32
33
node-version : ' lts/*'
33
34
registry-url : ' https://registry.npmjs.org'
34
35
- name : Install Dependencies
35
36
run : npm ci
36
- if : ${{ steps.release.outputs.releases_created }}
37
+ if : ${{ steps.release.outputs.release_created }}
37
38
- name : Publish to npm
38
39
# Release Please has already incremented versions and published tags, so we just
39
40
# need to publish all unpublished versions to NPM here
40
- if : ${{ steps.release.outputs.releases_created }}
41
+ if : ${{ steps.release.outputs.release_created }}
41
42
run : npm publish --provenance
42
43
env :
43
44
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments