forked from questdb/nodejs-questdb-client
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 733 Bytes
/
Copy pathbuild.yml
File metadata and controls
39 lines (32 loc) · 733 Bytes
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
name: build
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Build with Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
with:
version: 9
run_install: true
- name: Linting
run: pnpm eslint
- name: Type-checking
run: pnpm typecheck
- name: Tests
run: pnpm test