blob: 40b9de893b14c437bc1fcbd0d0d4f6067f91b1c3 [file] [log] [blame] [edit]
name: Wasm Build
permissions:
contents: read
on:
push:
branches:
- 'main'
pull_request:
types: [opened, synchronize, reopened, unlabeled]
jobs:
build:
if: github.event.action != 'unlabeled' || github.event.label.name == 'kokoro:run'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: '0'
- name: Build web
run: docker compose -f source/wasm/docker-compose.yml --project-directory . up
- name: Run tests
run: node test/wasm/test.js