-
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (41 loc) · 1.17 KB
/
deno.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
51
52
name: Deno
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
# Test for latest stable and canary deno versions
deno-version: [vx.x.x, canary]
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1.1.4
with:
deno-version: ${{ matrix.deno-version }}
- name: Check typings
run: deno check main.ts
- name: Check formatting
run: deno fmt --check
- name: Check linting
run: deno lint
- name: Run tests
run: deno task test-all
- name: Run dry publish
run: deno publish --dry-run
- name: Run benchmarks
# TODO: Cross-runtime benchmarks
run: deno task bench-all
continue-on-error: true
- name: Check license headers
run: |
deno run -A --no-check https://deno.land/x/anzu@1.0.2/src/cli.ts \
-i ./ "/.+\.ts/" \
-e "deps.ts" \
-l "// Copyright 2024 Im-Beast. All rights reserved. MIT license."