diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13b43e1..db322b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ on: workflow_dispatch: jobs: ci: + strategy: + matrix: + node-version: [22, 24] runs-on: ubuntu-latest timeout-minutes: 20 steps: @@ -16,7 +19,7 @@ jobs: - name: Use supported Node.js Version uses: actions/setup-node@v4 with: - node-version: 24 + node-version: ${{ matrix.node-version }} - name: Restore cached dependencies uses: actions/cache@v3 with: @@ -25,7 +28,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v4 with: - version: latest + version: 11 - name: Install dependencies run: pnpm install --frozen-lockfile - name: Run Tests diff --git a/package.json b/package.json index ec10bd8..b8dff38 100644 --- a/package.json +++ b/package.json @@ -53,4 +53,4 @@ "engines": { "node": ">= 22.19.0" } -} \ No newline at end of file +} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..6c750ff --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +allowBuilds: + unrs-resolver: true