File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,18 @@ jobs:
15
15
os : [macos-latest, ubuntu-latest, windows-latest]
16
16
runs-on : ${{ matrix.os }}
17
17
steps :
18
- - name : Checkout
19
- uses : actions/checkout@v3
20
- - name : Install Node.js
21
- uses : actions/setup-node@v3
22
- with :
23
- node-version : 16.x
24
- cache : ' yarn'
25
- - run : yarn install
26
- - run : xvfb-run -a yarn test
27
- if : runner.os == 'Linux'
28
- - run : yarn test
29
- if : runner.os != 'Linux'
18
+ - name : Checkout
19
+ uses : actions/checkout@v3
20
+ - name : Install Node.js
21
+ uses : actions/setup-node@v3
22
+ with :
23
+ node-version : 16.x
24
+ cache : ' yarn'
25
+ - run : yarn install
26
+ - run : xvfb-run -a yarn test
27
+ if : runner.os == 'Linux'
28
+ - run : yarn test
29
+ if : runner.os != 'Linux'
30
30
package :
31
31
runs-on : ubuntu-latest
32
32
needs : test
45
45
name : package
46
46
path : ./${{ env.PACKAGE_NAME }}
47
47
release :
48
- if : startsWith(github.ref , 'refs/tags/ ')
48
+ if : startsWith(github.event.head_commit.message , 'release v ')
49
49
runs-on : ubuntu-latest
50
50
permissions :
51
51
contents : write
76
76
uses : ncipollo/release-action@v1
77
77
with :
78
78
body : ${{ steps.changelog.outputs.changes }}
79
- artifacts : ./${{ env.RELEASE_NAME }}
79
+ artifacts : ./${{ env.RELEASE_NAME }}
You can’t perform that action at this time.
0 commit comments