Skip to content

Commit bafe557

Browse files
committed
Fix CI
1 parent 56d341d commit bafe557

1 file changed

Lines changed: 25 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,40 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
48

59
jobs:
610
build:
7-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.os }}
812
strategy:
913
matrix:
10-
node-version: ['14', '12', '10']
14+
os:
15+
- ubuntu-latest
16+
- macos-latest
17+
- windows-latest
18+
node_version:
19+
- 12
20+
- 14
21+
architecture:
22+
- x64
23+
deno: ["0.40"]
24+
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
1125
steps:
1226
- uses: actions/checkout@v2
13-
- name: Setup Node ${{ matrix.node-version }}
14-
uses: actions/setup-node@v1
27+
- name: Setup node
28+
uses: actions/setup-node@v2
1529
with:
16-
node-version: ${{ matrix.node-version }}
17-
- name: Setup Deno 1.7
30+
node-version: ${{ matrix.node_version }}
31+
architecture: ${{ matrix.architecture }}
32+
- name: Setup Deno
1833
uses: denolib/setup-deno@v2
1934
with:
20-
deno-version: '1.7'
35+
deno-version: ${{ matrix.deno }}
36+
- name: Install esy
37+
run: npm install -g esy
2138
- run: yarn install --frozen-lockfile
2239
- run: yarn --check-files
2340
- run: deno run --allow-read --allow-write https://denopkg.com/wyze/conditional_bisect@v1.0.1/mod.ts

0 commit comments

Comments
 (0)