From 0c1560acc466526290d994e791ec6742eb4b9dfa Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 12 Sep 2021 10:12:47 +0300 Subject: [PATCH] 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 --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2aea7823..17d28e0b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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