diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 5b3b536..66cab9c 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -21,11 +21,11 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: - node-version: 22 + node-version-file: .tool-versions cache: 'pnpm' - name: Install dependencies run: pnpm install diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 92d0784..d19de9d 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -13,11 +13,11 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: - node-version: 22 + node-version-file: .tool-versions cache: 'pnpm' - name: Install dependencies run: pnpm install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 950fbb7..5ec4eed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,11 +45,11 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: - node-version: 22 + node-version-file: .tool-versions cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - name: Install dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 69117f8..25e37d0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,18 +7,25 @@ on: jobs: unit: runs-on: ubuntu-latest - name: unit + name: unit (${{ matrix.node-version || '.tool-versions' }}) + strategy: + matrix: + # The least Node.js the packages declare, and the one the repository is developed on + include: + - node-version: 22 + - node-version-file: .tool-versions steps: - name: Checkout the repository uses: actions/checkout@v7 - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: - node-version: 22 + node-version: ${{ matrix.node-version }} + node-version-file: ${{ matrix.node-version-file }} cache: 'pnpm' - name: Install dependencies run: pnpm install @@ -33,11 +40,11 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v6 with: - version: 11 + version: 12 - name: Install Node.js uses: actions/setup-node@v7 with: - node-version: 22 + node-version-file: .tool-versions cache: 'pnpm' - name: Install dependencies run: pnpm install diff --git a/.tool-versions b/.tool-versions index 8168903..23dfdeb 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -pnpm 11.9.0 -nodejs 22.18.0 +pnpm 12.9.1 +nodejs 26.10.0