-
Notifications
You must be signed in to change notification settings - Fork 7
60 lines (49 loc) · 1.38 KB
/
NodeJS.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
name: DuckDB Node Client API
on:
push:
pull_request:
workflow_dispatch:
repository_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: false
jobs:
linux-nodejs:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: alt
- name: Bindings - Install, Configure, and Build
working-directory: alt/bindings
run: npm i
- name: Bindings - Test
working-directory: alt/bindings
run: npm test
osx-nodejs:
name: Mac OS X
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: alt
- name: Bindings - Install, Configure, and Build
working-directory: alt/bindings
run: npm i
- name: Bindings - Test
working-directory: alt/bindings
run: npm test
win-nodejs:
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: alt
- name: Bindings - Install, Configure, and Build
working-directory: alt/bindings
run: npm i
- name: Bindings - Test
working-directory: alt/bindings
run: npm test