Skip to content

Commit

Permalink
ci: build packager with tsc before test
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Dec 13, 2023
1 parent d2e2ace commit 0b2cb25
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-packager-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
shell: bash
- name: Test bindings
working-directory: .
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim sh -c "cd bindings/packager/nodejs && PACKAGER_FORMATS=deb yarn test"
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim sh -c "cd bindings/packager/nodejs && yarn postbuild && PACKAGER_FORMATS=deb yarn test"
test-linux-x64-musl-binding:
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
shell: bash
- name: Test bindings
working-directory: .
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine sh -c "cd bindings/packager/nodejs && PACKAGER_FORMATS=deb yarn test"
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine sh -c "cd bindings/packager/nodejs && yarn postbuild && PACKAGER_FORMATS=deb yarn test"
test-linux-aarch64-gnu-binding:
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -297,6 +297,7 @@ jobs:
export PACKAGER_FORMATS=deb
set -e
cd bindings/packager/nodejs
yarn postbuild
yarn test
ls -la
test-linux-aarch64-musl-binding:
Expand Down Expand Up @@ -337,6 +338,7 @@ jobs:
export PACKAGER_FORMATS=deb
set -e
cd bindings/packager/nodejs
yarn postbuild
yarn test
test-linux-arm-gnueabihf-binding:
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
Expand Down Expand Up @@ -381,6 +383,7 @@ jobs:
export PACKAGER_FORMATS=deb
set -e
cd bindings/packager/nodejs
yarn postbuild
yarn test
ls -la
publish:
Expand Down

0 comments on commit 0b2cb25

Please sign in to comment.