Skip to content

Commit b2cf91c

Browse files
committed
fix: use node 20 instead of node 18
1 parent a9ef9e1 commit b2cf91c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1128
-1041
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- macos-12
2525
- macos-11
2626
node:
27-
- 18
27+
- 20
2828
pnpm:
2929
- 8
3030
steps:
@@ -85,7 +85,7 @@ jobs:
8585
node-version: 12
8686
- name: Smoke Test Node 12
8787
run: |
88-
node ./dist/node12/setup-cpp.js --help
88+
node ./dist/legacy/setup-cpp.js --help
8989
9090
- name: Setup Node 16
9191
uses: actions/setup-node@v3
@@ -118,11 +118,11 @@ jobs:
118118
./exe/setup-cpp-x64-windows.exe
119119
./exe/setup-cpp-x64-linux
120120
./exe/setup-cpp-x64-macos
121-
./dist/node12/setup-cpp.js
122-
./dist/node12/setup-cpp.js.map
123-
./dist/node12/ # TODO: deprecate node12
121+
./dist/legacy/setup-cpp.js
122+
./dist/legacy/setup-cpp.js.map
123+
./dist/legacy/
124124
./dist/node16/
125-
./dist/node18/
125+
./dist/node20/
126126
127127
Docker:
128128
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
@@ -133,7 +133,7 @@ jobs:
133133
os:
134134
- ubuntu-22.04
135135
node:
136-
- 18
136+
- 20
137137
pnpm:
138138
- 8
139139
container:

dev/docker/__tests__/arch.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN pacman -Syuu --noconfirm && \
77
pacman -S --noconfirm --needed nodejs
88

99
# add setup-cpp.js (built outside of this dockerfile)
10-
COPY "./dist/node18" "/"
10+
COPY "./dist/legacy" "/"
1111

1212
# run installation
1313
RUN node /setup-cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true

dev/docker/__tests__/fedora.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN dnf -y install nodejs npm && \
66
npm install -g setup-cpp
77

88
# add setup-cpp.js (built outside of this dockerfile)
9-
COPY "./dist/node18" "/"
9+
COPY "./dist/legacy" "/"
1010

1111
# run installation
1212
RUN node /setup-cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true --task true --powershell true

dev/docker/__tests__/ubuntu.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt-get update -qq && \
66
apt-get install -y --no-install-recommends nodejs
77

88
# add setup-cpp.js (built outside of this dockerfile)
9-
COPY "./dist/node18" "/"
9+
COPY "./dist/legacy" "/"
1010

1111
# install setup-cpp
1212
RUN node /setup-cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true --task true

dist/actions/actions_python.72dce301.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/actions_python.72dce301.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)