From 6840700e2a479b645b32cfc0a2bab46ffde6fc31 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 3 Jul 2024 07:33:44 +0300 Subject: [PATCH] CI: update actions (#59) * CI: update actions * CI: Add Node.js 22 * CI: add cache npm --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5860acf..7a20929 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,18 +20,19 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - node: [16, 18, 20] + node: [16, 18, 20, 22] steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} + cache: npm - name: Install npm dependencies run: npm ci