From 6408180906f9bd33fec39233d8dce96887900a38 Mon Sep 17 00:00:00 2001 From: MaximIgitov Date: Sat, 31 Jan 2026 18:49:23 +0000 Subject: [PATCH] Add Node 22 to CI and enable npm cache --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5619e9b2..f58f6c58b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,15 @@ permissions: jobs: ci: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18, 20, 22] steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/install-dependencies + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: npm + - run: npm ci - run: npm run style:check - run: npm test