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:
João Moreno 2021-10-29 15:19:18 +02:00 committed by GitHub
parent e709f25635
commit 03125d44b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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