Update workflow and devcontainer to Node 14 (#19508)

This commit is contained in:
Franck Nijhof 2021-09-28 10:13:53 +02:00 committed by GitHub
parent 91eb979eed
commit 28fc0474d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 21 deletions

View File

@ -5,12 +5,12 @@
"context": "..",
"args": {
"VARIANT": "2.7",
"NODE_VERSION": "12.1",
"NODE_VERSION": "14"
}
},
"appPort": [4000],
"postCreateCommand": "bundle install && npm install",
"containerEnv": {"DEVCONTAINER": "true"},
"containerEnv": { "DEVCONTAINER": "true" },
"extensions": [
"davidanson.vscode-markdownlint",
"editorconfig.editorconfig",
@ -25,6 +25,6 @@
"errorLens.gutterIconsEnabled": true,
"errorLens.addAnnotationTextPrefixes": false,
"errorLens.enabledDiagnosticLevels": ["error", "warning"],
"terminal.integrated.shell.linux": "/usr/bin/zsh",
"terminal.integrated.shell.linux": "/usr/bin/zsh"
}
}

View File

@ -9,17 +9,11 @@ jobs:
steps:
- name: Check out files from GitHub
uses: actions/checkout@v2.3.4
- name: Setting up Node.js ${{ matrix.node-version }}
- name: Setting up Node.js
uses: actions/setup-node@v2.4.0
with:
node-version: 12.x
- name: Setup NPM cache
uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
node-version: 14.x
cache: "npm"
- name: Install dependencies
run: npm install
env:
@ -32,17 +26,11 @@ jobs:
steps:
- name: Check out files from GitHub
uses: actions/checkout@v2.3.4
- name: Setting up Node.js ${{ matrix.node-version }}
- name: Setting up Node.js
uses: actions/setup-node@v2.4.0
with:
node-version: 12.x
- name: Setup NPM cache
uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
node-version: 14.x
cache: "npm"
- name: Install dependencies
run: npm install
env: