-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 1.03 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
name: 'Run tests on Deno'
on:
push:
paths:
- '.github/workflows/deno.yml'
- 'tests/**'
- 'types/**'
- 'index.ts'
- 'package.json'
- 'pnpm-lock.yaml'
pull_request:
paths:
- '.github/workflows/deno.yml'
- 'index.ts'
- 'package.json'
- 'pnpm-lock.yaml'
- 'tests/**'
- 'types/**'
workflow_dispatch:
jobs:
default:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
vite-version: ['vite@2', 'vite@3', 'vite@4', 'vite@5']
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 10
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
with:
deno-version: v1.x
- name: Install Vite
run: deno install npm:${{ matrix.vite-version }}
- name: Lint Source
run: deno lint --rules-exclude=no-explicit-any --ignore=node_modules **/*.ts
- name: Run Tests
run: deno run --allow-all --unstable-sloppy-imports npm:uvu tests