mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 12:56:54 +00:00
Update workflow and devcontainer to Node 14 (#19508)
This commit is contained in:
parent
91eb979eed
commit
28fc0474d8
@ -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"
|
||||
}
|
||||
}
|
||||
|
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user