-
Notifications
You must be signed in to change notification settings - Fork 12
35 lines (30 loc) · 921 Bytes
/
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
---
name: "ci"
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
permissions: "read-all"
jobs:
linux:
runs-on: "ubuntu-latest"
strategy:
matrix:
node-version: ["18.x", "19.x", "20.x", "21.x"]
steps:
- uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11"
- uses: "pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598"
with:
version: "latest"
- name: "Use Node.js ${{ matrix.node-version }}"
uses: "actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65"
with:
node-version: "${{ matrix.node-version }}"
cache: "pnpm"
- run: "make install"
- run: "make lint"
- run: "make test"
- run: "make build"