From dd9d9bb6e04995b35ac1146017bcee4ad263de4d Mon Sep 17 00:00:00 2001 From: "Samuel R." Date: Wed, 31 Jul 2024 03:10:56 -0500 Subject: [PATCH] chore: update Node.js version and use pnpm for running tests --- .github/workflows/nodejs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 09dd244..8ef8b8d 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -10,7 +10,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [21.x, 22.x] + node-version: [22.x] + # globSync is not supported in Node.js 21.x yet + # node --run is not supported in Node.js 21.x yet name: Node.js ${{ matrix.node-version }} ๐Ÿš€ steps: @@ -59,4 +61,4 @@ jobs: - name: Run tests ๐Ÿงช run: | - pnpm run test + node --run test