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,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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user