Browse Source

Gate on "Check JS" action in CI (#8683)

Additionally add the necessary checks to cancel the rest of CI if it
fails.
pull/8686/head
Alex Crichton 6 months ago
committed by GitHub
parent
commit
9576345924
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      .github/workflows/main.yml

7
.github/workflows/main.yml

@ -69,6 +69,12 @@ jobs:
- run: npm run fmt-check
working-directory: ./crates/explorer
# common logic to cancel the entire run if this job fails
- run: gh run cancel ${{ github.run_id }}
if: failure() && github.event_name != 'pull_request'
env:
GH_TOKEN: ${{ github.token }}
# Check Code style quickly by running `clang-format` over all the C/C++ code
#
# Note that `wasmtime-platform.h` is excluded here as it's auto-generated.
@ -1053,6 +1059,7 @@ jobs:
- build-preview1-component-adapter
- build-wasmtime-target-wasm32
- test-min-platform-example
- check_js
if: always()
steps:
- name: Successful test and build

Loading…
Cancel
Save