diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3f7c71d1fc..94c5ffe771 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,7 +6,7 @@ jobs: v14: runs-on: ubuntu-22.04 container: - image: "ubuntu:22.04" + image: 'ubuntu:22.04' steps: - name: Install required dependencies run: | @@ -35,7 +35,7 @@ jobs: v16: runs-on: ubuntu-22.04 container: - image: "ubuntu:22.04" + image: 'ubuntu:22.04' steps: - name: Install required dependencies run: | @@ -64,7 +64,7 @@ jobs: v18: runs-on: ubuntu-22.04 container: - image: "ubuntu:22.04" + image: 'ubuntu:22.04' steps: - name: Install required dependencies run: | @@ -90,6 +90,35 @@ jobs: - name: Test run: yarn test-ci + v20: + runs-on: ubuntu-22.04 + container: + image: 'ubuntu:22.04' + steps: + - name: Install required dependencies + run: | + apt update + apt install --yes sudo + sudo apt install --yes git + sudo apt install --yes curl + curl --location https://deb.nodesource.com/setup_20.x | sudo --preserve-env bash - + sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs + - uses: actions/checkout@v3 + # workaround for https://github.com/actions/runner/issues/2033 + - name: ownership workaround + run: git config --global --add safe.directory '*' + - name: Install yarn + run: | + npm install --global yarn + node --version + yarn global add yarn@latest + - name: Install dependencies + run: yarn install --ignore-engines --frozen-lockfile + - name: Build packages + run: yarn build + - name: Test + run: yarn test-ci + windows: runs-on: windows-2022 steps: diff --git a/.nvmrc b/.nvmrc index 19c7bdba7b..25bf17fc5a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 \ No newline at end of file +18 \ No newline at end of file diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000000..8ead549ecc --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 18.16.0 diff --git a/README.md b/README.md index d82adb6fa6..b4d5fa05da 100644 --- a/README.md +++ b/README.md @@ -260,6 +260,9 @@ npm login nvm use (if you have nvm installed) ``` +- [nvm](https://github.com/nvm-sh/nvm) +- [asdf](https://asdf-vm.com/) is supported as well + ```sh yarn clean yarn install