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/
This commit is contained in:
Damien Arrachequesne
2023-03-24 17:16:25 +01:00
parent fe840e2eb3
commit e86ef45f87

View File

@@ -9,6 +9,7 @@ on:
jobs:
test-node:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
@@ -18,10 +19,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
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 }}
@@ -30,6 +31,3 @@ jobs:
- name: Run tests
run: npm test
env:
CI: true
timeout-minutes: 10