File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,23 @@ jobs:
33
33
- run : yarn install
34
34
- run : yarn test
35
35
36
- - uses : JS-DevTools/npm-publish@v3
36
+ - name : Publish Latest
37
+ uses : JS-DevTools/npm-publish@v3
37
38
if : ${{ !github.event.release.prerelease && !steps.version.outputs.prerelease }}
38
39
with :
39
40
token : ${{ secrets.NPM_TOKEN }}
40
41
access : public
41
42
dry-run : true
42
43
44
+ - name : Publish Prelease
45
+ uses : JS-DevTools/npm-publish@v3
46
+ if : ${{ steps.version.outputs.prerelease }}
47
+ with :
48
+ token : ${{ secrets.NPM_TOKEN }}
49
+ access : public
50
+ dry-run : true
51
+ tag : ${{ steps.version.outputs.prerelease }}
52
+
43
53
- name : Upload npm debug log
44
54
if : failure() # This step will run only if the previous steps failed
45
55
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments