-
-
Notifications
You must be signed in to change notification settings - Fork 66
50 lines (44 loc) · 1.16 KB
/
canary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Canary
on:
schedule:
- cron: 0 3 * * *
jobs:
canary:
name: Canary ${{ matrix.runtime }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
runtime: [deno, node]
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@v1
with:
deno-version: canary
- name: Setup Node
if: ${{ matrix.runtime == 'node' }}
uses: actions/setup-node@v4
with:
node-version: nightly
- name: Setup Bun
if: ${{ matrix.runtime == 'bun' }}
uses: oven-sh/setup-bun@v2
with:
bun-version: canary
- name: Setup corepack
if: ${{ matrix.runtime == 'node' }}
run: |
corepack enable
corepack prepare pnpm --activate
corepack --version
pnpm --version
- name: Install deps
run: deno task setup:${{ matrix.runtime }}
- name: Run tests
run: deno task test:${{ matrix.runtime }}