From 26c99b07eadcd01563c100fca896126bffff7c46 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 10 May 2021 22:35:26 +0300 Subject: Update CI config --- .github/workflows/test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c44379..b9b58bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,9 @@ name: Tests + on: [push, pull_request] + env: - CI: true + FORCE_COLOR: 2 jobs: run: @@ -11,19 +13,19 @@ jobs: strategy: fail-fast: false matrix: - node: [6, 8, 10, 12, 14] + node: [10, 12, 14, 16] steps: - name: Clone repository uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} - name: Install npm dependencies - run: npm install # switch to `npm ci` when Node.js 6.x is dropped + run: npm ci - name: Run tests run: npm test -- cgit v1.2.3