Skip to content

Merge pull request #22 from sidequery/canvas-tailnet-host #99

Merge pull request #22 from sidequery/canvas-tailnet-host

Merge pull request #22 from sidequery/canvas-tailnet-host #99

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.0
- run: bun install --frozen-lockfile
- run: bun run typecheck
- run: bun run test
- run: bun x playwright install --with-deps chromium
- run: bun run test:mcp-ui
- name: Test configured browser plugin in workerd
run: |
ARTIFACTS_PLUGINS_CONFIG=src/test/plugins/config.ts bun run build:cloudflare-compiler
ARTIFACTS_PLUGIN_TEST=1 bun test cloudflare/compiler.test.ts --test-name-pattern 'deployment browser plugin' --timeout 60000
# Rebuild the default deployment before the normal runtime and package checks.
- run: bun run test:cloudflare
- run: bun run typecheck:cloudflare
- name: Install celld 0.4.1
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release download v0.4.1 --repo denoland/celld --pattern celld-x86_64-unknown-linux-gnu.gz --dir "$RUNNER_TEMP"
gzip -d "$RUNNER_TEMP/celld-x86_64-unknown-linux-gnu.gz"
chmod +x "$RUNNER_TEMP/celld-x86_64-unknown-linux-gnu"
echo "CELLD_BIN=$RUNNER_TEMP/celld-x86_64-unknown-linux-gnu" >> "$GITHUB_ENV"
- run: CELLD_PACKAGE_INTEGRATION=1 bun run test:package:prebuilt
- run: bun run test:celld
executable:
strategy:
fail-fast: false
matrix:
os: [macos-15, ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.0
- run: bun install --frozen-lockfile
- run: bun run build:executable
- run: bun test scripts/executable.integration.test.ts --timeout 180000
- uses: actions/upload-artifact@v4
with:
name: artifacts-${{ matrix.os }}
path: dist/binaries/*
if-no-files-found: error