Skip to content

Commit a582910

Browse files
authored
chore: bump pipeline action and node versions (#63)
* chore: bump pipelines * Use venv and install deps * Fix package names
1 parent d0f4fb5 commit a582910

2 files changed

Lines changed: 22 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,47 @@ name: CI
22

33
on: [push, pull_request]
44

5+
permissions: {}
6+
57
jobs:
68
windows:
79
name: Windows
810
runs-on: windows-latest
911
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-node@v2
12+
- uses: actions/checkout@v4
13+
with:
14+
persist-credentials: false
15+
- uses: actions/setup-node@v4
1216
with:
13-
node-version: 16
17+
node-version: 22
1418
- run: npm ci
1519
- run: npm test
1620

1721
linux:
1822
name: Linux
1923
runs-on: ubuntu-latest
2024
steps:
21-
- uses: actions/checkout@v2
22-
- uses: actions/setup-node@v2
25+
- uses: actions/checkout@v4
2326
with:
24-
node-version: 16
27+
persist-credentials: false
28+
- uses: actions/setup-node@v4
29+
with:
30+
node-version: 22
31+
- run: sudo apt install -y libx11-dev libxkbfile-dev
2532
- run: npm ci
2633
- run: npm test
2734

2835
macos:
2936
name: macOS
3037
runs-on: macos-latest
3138
steps:
32-
- uses: actions/checkout@v2
33-
- uses: actions/setup-node@v2
39+
- uses: actions/checkout@v4
40+
with:
41+
persist-credentials: false
42+
- uses: actions/setup-node@v4
3443
with:
35-
node-version: 16
44+
node-version: 22
3645
# https://github.com/nodejs/node-gyp/issues/2869
37-
- run: python3 -m pip install setuptools
46+
- run: python3 -m venv .venv && source .venv/bin/activate && python3 -m pip install setuptools
3847
- run: npm ci
3948
- run: npm test

pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ extends:
3434
testPlatforms:
3535
- name: Linux
3636
nodeVersions:
37-
- 20.x
37+
- 22.x
3838
- name: MacOS
3939
nodeVersions:
40-
- 20.x
40+
- 22.x
4141
- name: Windows
4242
nodeVersions:
43-
- 20.x
43+
- 22.x
4444

4545
testSteps:
4646
# https://github.com/nodejs/node-gyp/issues/2869

0 commit comments

Comments
 (0)