From 64aae666b79d56626d3c1327089ffb394e6dff3f Mon Sep 17 00:00:00 2001 From: DavideViolante Date: Fri, 17 Dec 2021 12:14:15 +0100 Subject: [PATCH] Update CI/CD node version --- .github/workflows/ci.yml | 11 ++++------- .github/workflows/coverage.yml | 7 ++++--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa4d5a8..aef143a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,15 +9,12 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.x, 14.x] steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-version }} + node-version: '16' + cache: 'npm' - run: npm ci - run: npm run lint - - run: npm test + - run: npm test \ No newline at end of file diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 350f453..390e82f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -6,10 +6,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 with: - node-version: 14.x + node-version: '16' + cache: 'npm' - name: Coverage run: |