Skip to content

Set erasableSyntaxOnly compiler option (#5) #31

Set erasableSyntaxOnly compiler option (#5)

Set erasableSyntaxOnly compiler option (#5) #31

Workflow file for this run

# Copyright 2026 The zb Authors
# SPDX-License-Identifier: MIT
name: Test
on:
push:
pull_request:
jobs:
unit:
name: Unit Tests
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
permissions:
contents: read
steps:
- name: Check out code
uses: actions/checkout@v7
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version-file: package.json
- run: npm install
- run: npm test
e2e:
name: End-to-End
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
permissions:
contents: read
steps:
- name: Check out code
uses: actions/checkout@v7
- uses: $/
- run: zb --version
bundle:
name: Bundle
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v7
- name: Install Node.js
uses: actions/setup-node@v7
with:
node-version-file: package.json
- run: npm install
- run: npm run typecheck
- run: npm run build
- name: Ensure bundle matches source
run: git diff --name-only --exit-code -- dist