Skip to content

Commit dbed9ca

Browse files
committed
ci/cd matrix
1 parent 68704ac commit dbed9ca

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ on:
88
jobs:
99
deploy:
1010
name: Main
11-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1215

1316
permissions:
1417
id-token: write # Needed for auth with Deno Deploy
@@ -23,8 +26,14 @@ jobs:
2326
with:
2427
deno-version: v2.x
2528

26-
- name: Lint Deno code
29+
- name: Format Deno code
2730
run: deno fmt --check
2831

32+
- name: Lint Deno code
33+
run: deno lint
34+
2935
- name: Test Deno code
3036
run: deno test
37+
38+
- name: Build Deno code
39+
run: deno compile --unstable --allow-net --allow-read --allow-write --output=dist/git-mirror.ts

0 commit comments

Comments
 (0)