Skip to content

Pin actions-package-update Node runtime to avoid yarn missing in scheduled dependency updates#104

Merged
ashikkumar23 merged 2 commits into
masterfrom
copilot/fix-package-update-failure
Jun 8, 2026
Merged

Pin actions-package-update Node runtime to avoid yarn missing in scheduled dependency updates#104
ashikkumar23 merged 2 commits into
masterfrom
copilot/fix-package-update-failure

Conversation

Copilot AI commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

The package-update GitHub Actions job failed while building the container used by taichi/actions-package-update. The action defaulted to node:latest, where yarn is no longer guaranteed, causing dependency-update execution to fail before package.json updates could run.

  • Root-cause alignment

    • The failure was in the action container build step (yarn global add npm-check-updates) due to yarn not being present in the selected base image.
  • Workflow hardening

    • Updated .github/workflows/package_update.yml to explicitly set the Node image version consumed by taichi/actions-package-update.
    • Added SET_NODE_VERSION: "24" in the action environment to stop relying on node:latest behavior.
  • Change surface

    • Single-file, workflow-only update; no application/runtime code paths were modified.
- name: Update package.json
  uses: taichi/actions-package-update@master
  env:
    AUTHOR_EMAIL: ashikkumar23@gmail.com
    AUTHOR_NAME: Ashik Kumar
    EXECUTE: "true"
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    LOG_LEVEL: debug
    SET_NODE_VERSION: "24"
  with:
    args: -u --packageFile package.json --loglevel verbose

Copilot AI changed the title [WIP] Fix failing GitHub Actions job package-update Pin actions-package-update Node runtime to avoid yarn missing in scheduled dependency updates Jun 7, 2026
Copilot AI requested a review from ashikkumar23 June 7, 2026 13:00
@ashikkumar23
ashikkumar23 marked this pull request as ready for review June 8, 2026 06:20
@ashikkumar23
ashikkumar23 merged commit 3313449 into master Jun 8, 2026
@ashikkumar23
ashikkumar23 deleted the copilot/fix-package-update-failure branch June 8, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants