Skip to content

Commit c72d057

Browse files
committed
ci: add node-integration
1 parent 0fdb0ec commit c72d057

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/node.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: node integration
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
integration:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [macos-latest, macos-14, ubuntu-latest]
15+
python: ["3.8", "3.10", "3.12"]
16+
exclude:
17+
- os: macos-14
18+
python: "3.8"
19+
20+
runs-on: ${{ matrix.os }}
21+
steps:
22+
- name: Clone gyp-next
23+
uses: actions/checkout@v4
24+
with:
25+
path: gyp-next
26+
- name: Clone nodejs/node
27+
uses: actions/checkout@v4
28+
with:
29+
repository: nodejs/node
30+
path: node
31+
- uses: actions/setup-python@v5
32+
with:
33+
python-version: ${{ matrix.python }}
34+
allow-prereleases: true
35+
- name: Replace gyp in node
36+
shell: bash
37+
run: |
38+
rm -rf node/tools/gyp
39+
cp -r gyp-next node/tools/gyp
40+
- name: Run configure
41+
shell: bash
42+
run: |
43+
cd node
44+
./configure

0 commit comments

Comments
 (0)