26 lines
630 B
YAML
26 lines
630 B
YAML
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
fetch-depth: '0'
|
|
persist-credentials: false
|
|
- name: Build web
|
|
run: docker compose -f source/wasm/docker-compose.yml --project-directory . up
|
|
- name: Run tests
|
|
run: node test/wasm/test.js
|