File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -72,20 +72,32 @@ jobs:
7272 - name : Lint API
7373 run : yarn lint-api
7474
75- coverage :
75+ test-unit-coverage :
76+ needs : build
7677 runs-on : ubuntu-latest
7778 timeout-minutes : 10
7879 steps :
7980 - uses : actions/checkout@v3
80- - name : Use Node.js 18 .x
81+ - name : Use Node.js ${{ matrix.node-version }} .x
8182 uses : actions/setup-node@v3
8283 with :
83- node-version : 18 .x
84+ node-version : ${{ matrix.node-version }} .x
8485 cache : ' yarn'
8586 - name : Install dependencies
8687 run : |
8788 yarn --frozen-lockfile
8889 yarn install-addons
90+ - uses : actions/download-artifact@v3
91+ with :
92+ name : build-artifacts
93+ - name : Unzip artifacts (Linux, macOS)
94+ if : runner.os != 'Windows'
95+ run : unzip -o compressed-build.zip
96+ - name : Unzip artifacts (Windows)
97+ if : runner.os == 'Windows'
98+ run : 7z x compressed-build.zip -aoa -o${{ github.workspace }}
99+ - name : Print directory structure
100+ run : ls -R
89101 - name : Unit test coverage
90102 run : |
91103 yarn test-unit-coverage --forbid-only
You can’t perform that action at this time.
0 commit comments