1 parent e7dceec commit 13373efCopy full SHA for 13373ef
1 file changed
.github/workflows/node.yaml
@@ -12,6 +12,7 @@ jobs:
12
format(', Better SQLite v{0}', matrix.versions.better-sqlite3)
13
}}
14
15
+ # Ubuntu 22.04 defaults to Python v3.10 which works with older node-gyps.
16
runs-on: ubuntu-22.04
17
continue-on-error: ${{!!matrix.versions.flaky}}
18
@@ -35,7 +36,7 @@ jobs:
35
36
37
- node: "8"
38
better-sqlite3: "6"
- flaky: true
39
+ python: 2
40
41
# Better SQLite v6 on Node v9 requires Python 2, which isn't
42
# available on GitHub Actions.
@@ -84,6 +85,10 @@ jobs:
84
85
steps:
86
- uses: actions/checkout@v3
87
88
+ - uses: actions/setup-python@v5
89
+ if: matrix.versions.python
90
+ with: {python-version: "${{matrix.versions.python}}"}
91
+
92
- name: Install Node.js v${{matrix.versions.node}}
93
uses: actions/setup-node@v3
94
with: {node-version: "${{matrix.versions.node}}"}
0 commit comments