From 966ae126995767d8b02644c73ade16086db17557 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Tue, 19 Apr 2022 22:55:02 +0200 Subject: [PATCH] build: use node v16 (#1054) --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/windows.yml | 2 +- .nvmrc | 1 + docs/build.md | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a66baa6..34cff1e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -40,7 +40,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install Yarn run: npm install -g yarn diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 37d8b03..e4330c6 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -31,7 +31,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Clone VSCode repo run: . get_repo.sh diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 38255de..85d780a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install Yarn run: npm install -g yarn diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..6276cf1 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v16.14.2 diff --git a/docs/build.md b/docs/build.md index 8d96c46..e9b1258 100644 --- a/docs/build.md +++ b/docs/build.md @@ -11,7 +11,7 @@ ## Dependencies -- node 14 +- node 16 - yarn - jq - git @@ -62,7 +62,7 @@ docker run -ti --volume=:/root/vscodium --name=vscodium-b When inside the container, you can use the following commands to build: ``` -curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - +curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - sudo apt-get install -y nodejs desktop-file-utils npm install -g yarn