File tree 1 file changed +27
-1
lines changed
1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 19
19
uses : ' ./.github/workflows/test.yml'
20
20
with :
21
21
reportCoverage : false
22
+
23
+ release-dryrun :
24
+ runs-on : ubuntu-latest
25
+ permissions :
26
+ contents : read
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+ with :
30
+ fetch-depth : 0
31
+
32
+ - name : Setup Node.js environment
33
+
34
+ with :
35
+ node-version-file : ' .nvmrc'
36
+ cache : ' yarn'
37
+
38
+ - name : Install
39
+ run : |
40
+ npm install -g npm
41
+ yarn install --immutable
42
+
43
+ - name : version
44
+ run : |
45
+ ${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
46
+ ${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
47
+ --no-git-tag-version --no-push
22
48
23
49
build-and-release :
24
- needs : ['test']
50
+ needs : ['test', 'release-dryrun' ]
25
51
runs-on : ubuntu-latest
26
52
environment :
27
53
name : ' npm'
You can’t perform that action at this time.
0 commit comments