mirror of
https://github.com/pi-hole/web.git
synced 2026-04-21 01:10:19 +01:00
Update test.yml
* remove unneeded `CI` env var; it's already set by the runner * specify `FORCE_COLOR: 2` * update to the latest `actions/setup-node` * cache npm * update to Node.js 14 Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@@ -10,21 +10,22 @@ on:
|
||||
- "**"
|
||||
|
||||
env:
|
||||
CI: true
|
||||
FORCE_COLOR: 2
|
||||
|
||||
jobs:
|
||||
run:
|
||||
name: Node ${{ matrix.node }}
|
||||
name: Node
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set Node.js version
|
||||
uses: actions/setup-node@v1
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "12.x"
|
||||
node-version: "14.x"
|
||||
cache: npm
|
||||
|
||||
- name: Install npm dependencies
|
||||
run: npm ci
|
||||
|
||||
Reference in New Issue
Block a user