From be627397a7171bc4474f0a673aca654fe60cf67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Sol=C3=A1r?= Date: Fri, 4 Sep 2026 21:22:37 +0200 Subject: [PATCH] ci: use apify/actions/pnpm-install to fix the Node 20 deprecation warning apify/workflows/pnpm-install@v0.46.0 pins actions/cache@v4, which declares `runs.using: node20`. Runners force it onto Node 24 and print a deprecation warning on every job. apify/actions/pnpm-install is byte-identical apart from that pin, and is already on actions/cache@v6.1.0. Co-Authored-By: Claude Opus 5 --- .github/workflows/build_archives.yaml | 2 +- .github/workflows/lint_and_test.yaml | 2 +- .github/workflows/test_llm_ai_node_templates.yaml | 2 +- .github/workflows/test_llm_ai_python_templates.yaml | 2 +- .github/workflows/test_node_templates.yaml | 2 +- .github/workflows/test_python_templates.yaml | 2 +- .github/workflows/update-templates.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_archives.yaml b/.github/workflows/build_archives.yaml index cbf019c9..f0631498 100644 --- a/.github/workflows/build_archives.yaml +++ b/.github/workflows/build_archives.yaml @@ -22,7 +22,7 @@ jobs: node-version-file: .nvmrc - name: Install pnpm and dependencies - uses: apify/workflows/pnpm-install@v0.46.0 + uses: apify/actions/pnpm-install@v1.5.0 # TODO: Also replace links in manifest.json - name: Build template archives diff --git a/.github/workflows/lint_and_test.yaml b/.github/workflows/lint_and_test.yaml index 940ef11e..19745862 100644 --- a/.github/workflows/lint_and_test.yaml +++ b/.github/workflows/lint_and_test.yaml @@ -43,7 +43,7 @@ jobs: node-version-file: .nvmrc - name: Install pnpm and dependencies - uses: apify/workflows/pnpm-install@v0.46.0 + uses: apify/actions/pnpm-install@v1.5.0 - name: Lint run: pnpm run lint diff --git a/.github/workflows/test_llm_ai_node_templates.yaml b/.github/workflows/test_llm_ai_node_templates.yaml index a7261aeb..dec9fbc5 100644 --- a/.github/workflows/test_llm_ai_node_templates.yaml +++ b/.github/workflows/test_llm_ai_node_templates.yaml @@ -44,7 +44,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install pnpm and dependencies - uses: apify/workflows/pnpm-install@v0.46.0 + uses: apify/actions/pnpm-install@v1.5.0 - name: Test LLM AI Node.js templates run: pnpm run test-llm-ai-node-templates diff --git a/.github/workflows/test_llm_ai_python_templates.yaml b/.github/workflows/test_llm_ai_python_templates.yaml index 3ca358d2..48f9339b 100644 --- a/.github/workflows/test_llm_ai_python_templates.yaml +++ b/.github/workflows/test_llm_ai_python_templates.yaml @@ -39,7 +39,7 @@ jobs: node-version-file: .nvmrc - name: Install pnpm and dependencies - uses: apify/workflows/pnpm-install@v0.46.0 + uses: apify/actions/pnpm-install@v1.5.0 - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 diff --git a/.github/workflows/test_node_templates.yaml b/.github/workflows/test_node_templates.yaml index 287dfd1d..c3349314 100644 --- a/.github/workflows/test_node_templates.yaml +++ b/.github/workflows/test_node_templates.yaml @@ -52,7 +52,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install pnpm and dependencies - uses: apify/workflows/pnpm-install@v0.46.0 + uses: apify/actions/pnpm-install@v1.5.0 # --with-deps on Linux installs the apt libraries Chromium needs. On Windows it # installs the Media Foundation feature instead, which cost 3m16s of this step's diff --git a/.github/workflows/test_python_templates.yaml b/.github/workflows/test_python_templates.yaml index 9df6cb98..9dabc69a 100644 --- a/.github/workflows/test_python_templates.yaml +++ b/.github/workflows/test_python_templates.yaml @@ -41,7 +41,7 @@ jobs: node-version-file: .nvmrc - name: Install pnpm and dependencies - uses: apify/workflows/pnpm-install@v0.46.0 + uses: apify/actions/pnpm-install@v1.5.0 # --with-deps on Linux installs the apt libraries Chromium needs. On Windows it # installs the Media Foundation feature instead, which cost 3m16s of this step's diff --git a/.github/workflows/update-templates.yml b/.github/workflows/update-templates.yml index 0465d9e5..ed451d85 100644 --- a/.github/workflows/update-templates.yml +++ b/.github/workflows/update-templates.yml @@ -52,7 +52,7 @@ jobs: node-version: 24 - name: Install pnpm and dependencies - uses: apify/workflows/pnpm-install@v0.46.0 + uses: apify/actions/pnpm-install@v1.5.0 - name: Run update script env: