From 596eb88af7fcd41e9d7c0abca4d1305a7e2c2fea Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Thu, 13 Oct 2022 14:37:29 +0200 Subject: [PATCH] ci: upgrade to actions/checkout@3 and actions/setup-node@3 Reference: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ --- .github/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a468d9d646..492f76f33b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,18 +12,25 @@ permissions: jobs: test-node: runs-on: ubuntu-latest + timeout-minutes: 10 strategy: matrix: node-version: [12, 14, 16] steps: - - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm test + + - name: Install dependencies + run: npm ci + + - name: Run tests + run: npm test env: CI: true