Skip to content

Commit b1b0077

Browse files
committed
ci: update test workflow
1 parent 97b223f commit b1b0077

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
node-version: [10.16.0, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
persist-credentials: false
2222
- name: Use Node.js ${{ matrix.node-version }}
@@ -41,13 +41,17 @@ jobs:
4141
matrix:
4242
node-version: [16.x, 18.x, 20.x]
4343
steps:
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4545
with:
4646
persist-credentials: false
4747
- name: Use Node.js ${{ matrix.node-version }}
4848
uses: actions/setup-node@v3
4949
with:
5050
node-version: ${{ matrix.node-version }}
51+
- name: Install Python 3.10
52+
uses: actions/setup-python@v4
53+
with:
54+
python-version: '3.10'
5155
- name: Check Node.js version
5256
run: node -pe process.versions
5357
- name: Install module
@@ -57,11 +61,15 @@ jobs:
5761
tests-macos-homebrew:
5862
runs-on: macos-latest
5963
steps:
60-
- uses: actions/checkout@v3
64+
- uses: actions/checkout@v4
6165
with:
6266
persist-credentials: false
6367
- name: Use Node.js (latest)
6468
run: brew install node
69+
- name: Install Python 3.10
70+
uses: actions/setup-python@v4
71+
with:
72+
python-version: '3.10'
6573
- name: Check Node.js version
6674
run: node -pe process.versions
6775
- name: Install module
@@ -75,7 +83,7 @@ jobs:
7583
matrix:
7684
node-version: [16.x, 18.x, 20.x]
7785
steps:
78-
- uses: actions/checkout@v3
86+
- uses: actions/checkout@v4
7987
with:
8088
persist-credentials: false
8189
- name: Use Node.js ${{ matrix.node-version }}

0 commit comments

Comments
 (0)