From 614fef2968c965a50151e57d0bacde51ff058856 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 6 Mar 2025 15:43:21 -0500 Subject: [PATCH] chore: update to node 22 --- .github/workflows/tests.yml | 14 ++++++++++---- .nvmrc | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 797eabab1..20942e964 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,3 @@ - name: Unit Tests on: @@ -7,13 +6,20 @@ on: jobs: run-tests: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [22.12] steps: - uses: actions/checkout@v4 + - run: corepack enable - - uses: actions/setup-node@v4 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 with: - node-version: '20.10.0' - cache: 'yarn' + node-version: ${{ matrix.node-version }} + cache: 'yarn' + - run: yarn install - run: yarn build - run: yarn test:ci diff --git a/.nvmrc b/.nvmrc index d5a159609..35d2d08ea 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.10.0 +22.12