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,7 +5,7 @@
"context": "..", "context": "..",
"args": { "args": {
"VARIANT": "2.7", "VARIANT": "2.7",
"NODE_VERSION": "12.1", "NODE_VERSION": "14"
} }
}, },
"appPort": [4000], "appPort": [4000],
@ -25,6 +25,6 @@
"errorLens.gutterIconsEnabled": true, "errorLens.gutterIconsEnabled": true,
"errorLens.addAnnotationTextPrefixes": false, "errorLens.addAnnotationTextPrefixes": false,
"errorLens.enabledDiagnosticLevels": ["error", "warning"], "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: steps:
- name: Check out files from GitHub - name: Check out files from GitHub
uses: actions/checkout@v2.3.4 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 uses: actions/setup-node@v2.4.0
with: with:
node-version: 12.x node-version: 14.x
- name: Setup NPM cache cache: "npm"
uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
env: env:
@ -32,17 +26,11 @@ jobs:
steps: steps:
- name: Check out files from GitHub - name: Check out files from GitHub
uses: actions/checkout@v2.3.4 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 uses: actions/setup-node@v2.4.0
with: with:
node-version: 12.x node-version: 14.x
- name: Setup NPM cache cache: "npm"
uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
env: env: