File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,33 @@ jobs:
26
26
lib
27
27
umd
28
28
29
+ dry-run :
30
+ name : Dry run
31
+ runs-on : ubuntu-latest
32
+ environment : npm
33
+ steps :
34
+ - name : Checkout
35
+ uses : actions/checkout@v3
36
+ with :
37
+ token : ${{ secrets.GH_TOKEN }}
38
+ fetch-depth : 0 # necessary for correct CHANGELOGS
39
+ - name : Set up node
40
+ uses : actions/setup-node@v3
41
+ with :
42
+ node-version : 18
43
+ cache : yarn
44
+ - name : Install
45
+ run : yarn install --immutable
46
+ - name : Dry run release
47
+ env :
48
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
49
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
50
+ run : yarn release --dry-run >> $GITHUB_STEP_SUMMARY
51
+
29
52
release :
30
53
name : Release
31
54
runs-on : ubuntu-latest
32
- needs : [build]
55
+ needs : [build, dry-run ]
33
56
environment : npm
34
57
steps :
35
58
- name : Checkout
You can’t perform that action at this time.
0 commit comments