Make sure CI fails if yarn test
fails (#818)
make sure CI fails if `yarn test` fails Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
parent
e709f25635
commit
03125d44b8
1 changed files with 3 additions and 0 deletions
|
@ -380,6 +380,7 @@ jobs:
|
|||
image: ghcr.io/napi-rs/napi-rs/nodejs:aarch64-\${{ matrix.node }}
|
||||
options: -v \${{ github.workspace }}:/build -w /build
|
||||
run: |
|
||||
set -e
|
||||
yarn test
|
||||
ls -la
|
||||
|
||||
|
@ -420,6 +421,7 @@ jobs:
|
|||
image: multiarch/alpine:aarch64-latest-stable
|
||||
options: -v \${{ github.workspace }}:/build -w /build
|
||||
run: |
|
||||
set -e
|
||||
apk add nodejs npm yarn
|
||||
yarn test
|
||||
|
||||
|
@ -463,6 +465,7 @@ jobs:
|
|||
image: ghcr.io/napi-rs/napi-rs/nodejs:armhf-\${{ matrix.node }}
|
||||
options: -v \${{ github.workspace }}:/build -w /build
|
||||
run: |
|
||||
set -e
|
||||
yarn test
|
||||
ls -la
|
||||
|
||||
|
|
Loading…
Reference in a new issue