File tree Expand file tree Collapse file tree 2 files changed +25
-20
lines changed
Expand file tree Collapse file tree 2 files changed +25
-20
lines changed Original file line number Diff line number Diff line change 77jobs :
88 test :
99 runs-on : ubuntu-latest
10+ timeout-minutes : 30
11+ strategy :
12+ matrix :
13+ node :
14+ - ' 14'
15+ - ' 16'
16+ io :
17+ - noop
18+ - linux
1019 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-node@v3
20+ - name : Checkout
21+ uses : actions/checkout@v3
22+ - name : Setup
23+ uses : actions/setup-node@v3
1324 with :
1425 cache : npm
15- node-version : ' 16 '
16- registry-url : ' https://registry.npmjs.org '
17- - run : npm ci
18- - name : Test noop IO
26+ node_version : ${{ matrix.node }}
27+ - name : Install dependencies
28+ run : npm ci
29+ - name : Test
1930 run : npm test
2031 env :
21- CURATOR_IO : noop
22- CURATOR_PKG : noop
23- - name : Test linux IO
24- run : npm test
25- env :
26- CURATOR_IO : linux
32+ CURATOR_IO : ${{ matrix.io }}
2733 CURATOR_PKG : noop
Original file line number Diff line number Diff line change 11---
2- name : release
2+ name : publish
33
44on :
55 push :
66 tags :
77 - ' v*'
88
99jobs :
10- publish :
10+ npm :
1111 runs-on : ubuntu-latest
12+ timeout-minutes : 30
1213 steps :
13- - uses : actions/checkout@v3
14- - uses : actions/setup-node@v3
15- with :
16- cache : npm
17- node-version : ' 16'
18- registry-url : ' https://registry.npmjs.org'
14+ - name : Checkout
15+ uses : actions/checkout@v3
16+ - name : Setup
17+ uses : actions/setup-node@v3
1918 - name : Publish
2019 uses : JS-DevTools/npm-publish@v1
2120 with :
You can’t perform that action at this time.
0 commit comments