Browse Source

build: use node v16 (#1054)

Baptiste Augrain 3 years ago
parent
commit
966ae12699
5 changed files with 6 additions and 5 deletions
  1. 1 1
      .github/workflows/linux.yml
  2. 1 1
      .github/workflows/macos.yml
  3. 1 1
      .github/workflows/windows.yml
  4. 1 0
      .nvmrc
  5. 2 2
      docs/build.md

+ 1 - 1
.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

+ 1 - 1
.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

+ 1 - 1
.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

+ 1 - 0
.nvmrc

@@ -0,0 +1 @@
+v16.14.2

+ 2 - 2
docs/build.md

@@ -11,7 +11,7 @@
 
 ## <a id="dependencies"></a>Dependencies
 
-- node 14
+- node 16
 - yarn
 - jq
 - git
@@ -62,7 +62,7 @@ docker run -ti --volume=<local vscodium source>:/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