Skip to content

feat(wasm-builder): New approach to build demos #2367

feat(wasm-builder): New approach to build demos

feat(wasm-builder): New approach to build demos #2367

Workflow file for this run

name: PR
on:
pull_request:
branches: [master, vara-stage-1, vara-stage-2, vara-stage-3]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
TERM: xterm-256color
BINARYEN_VERSION: version_111
jobs:
status:
runs-on: ubuntu-latest
outputs:
build: ${{ steps.config.outputs.build }}
cache: ${{ steps.config.outputs.cache }}
check: ${{ steps.config.outputs.check }}
macos: ${{ steps.config.outputs.macos }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: npm install
working-directory: .github/actions/message
- name: Configure
id: config
uses: ./.github/actions/message
with:
token: ${{ secrets.GITHUB_TOKEN }}
check:
needs: status
if: ${{ needs.status.outputs.check == 'true' }}
uses: ./.github/workflows/check.yml
with:
cache: ${{ needs.status.outputs.cache }}
build:
needs: status
if: ${{ needs.status.outputs.build == 'true' }}
uses: ./.github/workflows/build.yml
with:
cache: ${{ needs.status.outputs.cache }}
macos: ${{ needs.status.outputs.macos == 'true' }}