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