-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (37 loc) · 1.03 KB
/
Copy pathci.yml
File metadata and controls
46 lines (37 loc) · 1.03 KB
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: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- deno-version: v2.6.8
node-version: 20
- deno-version: v2.x
node-version: 22
- deno-version: v2.x
node-version: 24
steps:
- name: Checkout repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Setup Deno
uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed # v2
with:
deno-version: ${{ matrix.deno-version }}
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node-version }}
- name: Run checks
run: deno task check
- name: Build npm package
run: deno task build:npm
- name: Verify packed npm consumer
run: bash scripts/verify-npm-package.sh