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