Skip to content

Canary

Canary #943

Workflow file for this run

name: Canary
on:
schedule:
- cron: 0 3 * * *
jobs:
canary:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
runtime:
- name: deno
deno-version: canary
- name: node
deno-version: canary
node-version: latest
# - name: bun
# deno-version: canary
# bun-version: canary
os: [macOS-latest, windows-latest, ubuntu-latest]
env:
RUST_BACKTRACE: full
DENO_FUTURE: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.runtime.deno-version }}
- name: Create package.json
if: ${{ matrix.runtime.name == 'node' || matrix.runtime.name == 'bun' }}
run: deno task setup:${{ matrix.runtime.name }} --no-install
- name: Setup Node
if: matrix.runtime.name == 'node'
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.runtime.node-version }}
check-latest: true
- name: Setup Bun
if: matrix.runtime.name == 'bun'
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.runtime.bun-version }}
- name: Setup pnpm
if: ${{ matrix.runtime.name == 'node' }}
uses: pnpm/action-setup@v4
with:
run_install: true
- name: Run tests
run: deno task test:${{ matrix.runtime.name }}