From 28315547fc0d229d16e72928570886b68091fe60 Mon Sep 17 00:00:00 2001 From: Zikeji Date: Mon, 24 Aug 2026 10:01:43 -0400 Subject: [PATCH] ci: pin node-version to 22.x instead of latest --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62394ff3..c8bb7465 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: token: ${{ steps.generate_token.outputs.token }} - uses: actions/setup-node@v4 with: - node-version: latest + node-version: 22.x registry-url: https://registry.npmjs.org always-auth: true - name: Install dependencies @@ -60,7 +60,7 @@ jobs: ref: main - uses: actions/setup-node@v4 with: - node-version: latest + node-version: 22.x - run: npm ci - name: Build documentation run: npm run docs:build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0d8ea91..aa77c8b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: latest + node-version: 22.x - run: npm ci - name: Don't continue if lint fails. run: npm run test:lint @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: latest + node-version: 22.x - run: npm ci - name: Build documentation run: npm run docs:build