@@ -20,20 +20,16 @@ jobs:
2020 - packages/interface-store
2121 steps :
2222 - uses : actions/checkout@v2
23- - name : Use Node.js 14 .x
23+ - name : Use Node.js 16 .x
2424 uses : actions/setup-node@v1
2525 with :
26- node-version : 14 .x
26+ node-version : 16 .x
2727 - name : Install dependencies
2828 run : npm install
29- - name : Build types
29+ - name : Build project
3030 run : npm run build
31- - name : Typecheck ${{ matrix.project }}
32- uses : gozala/typescript-error-reporter-action@v1.0.8
33- with :
34- project : ${{ matrix.project }}
35- - run : npx aegir build
36- - run : npx aegir dep-check
31+ - name : Check deps
32+ run : npm run dep-check
3733 - uses : ipfs/aegir/actions/bundle-size@master
3834 name : size
3935 with :
@@ -42,54 +38,36 @@ jobs:
4238 test-node :
4339 strategy :
4440 matrix :
45- node-version : [14.x, 16.x]
4641 os : [windows-latest, ubuntu-latest, macos-latest]
4742 project :
48- - packages/interface-blockstore
49- - packages/interface-blockstore-tests
5043 - packages/interface-datastore
51- - packages/interface-datastore-tests
52- - packages/interface-store
5344 needs : check
5445 runs-on : ${{ matrix.os }}
55- strategy :
56- matrix :
57- os : [windows-latest, ubuntu-latest, macos-latest]
58- node : ${{ matrix.node-version }}
59- fail-fast : true
6046 steps :
6147 - uses : actions/checkout@v2
6248 - uses : actions/setup-node@v1
6349 with :
64- node-version : ${{ matrix.node-version }}
50+ node-version : 16.x
6551 - run : npm install
66- - run : npx aegir test -t node --cov --bail
52+ - run : npm run test -- -- -- -t node --cov --bail
6753 - uses : codecov/codecov-action@v1
6854 test-chrome :
6955 needs : check
7056 runs-on : ubuntu-latest
7157 steps :
7258 - uses : actions/checkout@v2
59+ - uses : actions/setup-node@v1
60+ with :
61+ node-version : 16.x
7362 - run : npm install
74- - run : npx aegir test -t browser -t webworker --bail
63+ - run : npm run test -- -- -- -t browser -t webworker --bail
7564 test-firefox :
7665 needs : check
7766 runs-on : ubuntu-latest
7867 steps :
7968 - uses : actions/checkout@v2
69+ - uses : actions/setup-node@v1
70+ with :
71+ node-version : 16.x
8072 - run : npm install
81- - run : npx aegir test -t browser -t webworker --bail -- --browser firefox
82- test-electron-main :
83- needs : check
84- runs-on : ubuntu-latest
85- steps :
86- - uses : actions/checkout@v2
87- - run : npm install
88- - run : npx xvfb-maybe aegir test -t electron-main --bail
89- test-electron-renderer :
90- needs : check
91- runs-on : ubuntu-latest
92- steps :
93- - uses : actions/checkout@v2
94- - run : npm install
95- - run : npx xvfb-maybe aegir test -t electron-renderer --bail
73+ - run : npm run test -- -- -- -t browser -t webworker --bail -- --browser firefox
0 commit comments