Skip to content

Commit 2df2243

Browse files
committed
chore: switch internal node version to 18, add asdf to docs
1 parent 2cd236b commit 2df2243

File tree

4 files changed

+37
-4
lines changed

4 files changed

+37
-4
lines changed

.github/workflows/CI.yml

+32-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
v14:
77
runs-on: ubuntu-22.04
88
container:
9-
image: "ubuntu:22.04"
9+
image: 'ubuntu:22.04'
1010
steps:
1111
- name: Install required dependencies
1212
run: |
@@ -35,7 +35,7 @@ jobs:
3535
v16:
3636
runs-on: ubuntu-22.04
3737
container:
38-
image: "ubuntu:22.04"
38+
image: 'ubuntu:22.04'
3939
steps:
4040
- name: Install required dependencies
4141
run: |
@@ -64,7 +64,7 @@ jobs:
6464
v18:
6565
runs-on: ubuntu-22.04
6666
container:
67-
image: "ubuntu:22.04"
67+
image: 'ubuntu:22.04'
6868
steps:
6969
- name: Install required dependencies
7070
run: |
@@ -90,6 +90,35 @@ jobs:
9090
- name: Test
9191
run: yarn test-ci
9292

93+
v20:
94+
runs-on: ubuntu-22.04
95+
container:
96+
image: 'ubuntu:22.04'
97+
steps:
98+
- name: Install required dependencies
99+
run: |
100+
apt update
101+
apt install --yes sudo
102+
sudo apt install --yes git
103+
sudo apt install --yes curl
104+
curl --location https://deb.nodesource.com/setup_20.x | sudo --preserve-env bash -
105+
sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs
106+
- uses: actions/checkout@v3
107+
# workaround for https://github.com/actions/runner/issues/2033
108+
- name: ownership workaround
109+
run: git config --global --add safe.directory '*'
110+
- name: Install yarn
111+
run: |
112+
npm install --global yarn
113+
node --version
114+
yarn global add yarn@latest
115+
- name: Install dependencies
116+
run: yarn install --ignore-engines --frozen-lockfile
117+
- name: Build packages
118+
run: yarn build
119+
- name: Test
120+
run: yarn test-ci
121+
93122
windows:
94123
runs-on: windows-2022
95124
steps:

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
18

.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 18.16.0

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ npm login
260260
nvm use (if you have nvm installed)
261261
```
262262

263+
- [nvm](https://github.com/nvm-sh/nvm)
264+
- [asdf](https://asdf-vm.com/) is supported as well
265+
263266
```sh
264267
yarn clean
265268
yarn install

0 commit comments

Comments
 (0)