From 79c56b3c920153045e46960f292eddf922d6fd70 Mon Sep 17 00:00:00 2001 From: Steve Calvert Date: Mon, 10 Aug 2026 16:27:58 -0700 Subject: [PATCH] fix(ci): set up toolchain with mise --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fa47f2..26810b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,10 @@ on: jobs: test: runs-on: ubuntu-latest + env: + # Override mise.toml so each matrix job installs and activates the Node + # version it is responsible for testing. + MISE_NODE_VERSION: ${{ matrix.node-version }} strategy: matrix: # 22.12.0 verifies package.json's stated `engines.node` floor; 24 is @@ -18,11 +22,10 @@ jobs: steps: - uses: actions/checkout@v7 - - name: Set up Node - uses: actions/setup-node@v7 + - name: Set up toolchain + uses: jdx/mise-action@v4 with: - node-version: ${{ matrix.node-version }} - cache: npm + cache_key: "{{default}}-node-${{ matrix.node-version }}" - name: Install dependencies run: npm ci