-
Notifications
You must be signed in to change notification settings - Fork 12
69 lines (58 loc) · 2.03 KB
/
ci.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
name: "ci"
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
permissions: "read-all"
jobs:
bun:
runs-on: "ubuntu-latest"
strategy:
matrix:
bun-version: ["latest"]
steps:
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
- name: "Use Bun ${{ matrix.bun-version }}"
uses: "oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5"
with: { bun-version: "${{ matrix.bun-version }}" }
- run: "bun install"
- run: "bun run lint"
- run: "bun run test"
- run: "bun run build"
deno:
runs-on: "ubuntu-latest"
strategy:
matrix:
deno-version: ["2.x"]
steps:
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
- name: "Use Deno ${{ matrix.deno-version }}"
uses: "denoland/setup-deno@909cc5acb0fdd60627fb858598759246509fa755"
with: { deno-version: "v${{ matrix.deno-version }}" }
- run: "deno install"
- run: "deno task lint"
- run: "deno task test"
- run: "deno task build"
node:
runs-on: "ubuntu-latest"
strategy:
matrix:
node-version: ["18.x", "19.x", "20.x", "21.x", "22.x"]
steps:
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
- uses: "pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2"
with: { version: "latest" }
- name: "Use Node.js ${{ matrix.node-version }}"
uses: "actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af"
with:
node-version: "${{ matrix.node-version }}"
cache: "pnpm"
- run: "make install"
- run: "make audit_signatures"
- run: "make lint"
- run: "make test"
- run: "make build"