-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (39 loc) · 912 Bytes
/
test.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
# adapted from https://github.com/denoland/std/blob/main/.github/workflows/workspace_publish.yml
name: ci
on:
push:
branches:
- main
- dev/*
- chore/*
- feature/*
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
test-deno:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: canary
- name: Format & Check
run: deno run check
# - name: Test
# run: deno task test
- name: Publish dry run
run: deno publish --dry-run
if: matrix.os == 'ubuntu-latest'