Skip to content

fix(ci): resolve issues found during sandbox validation - #8

Merged
NZeauu merged 1 commit into
devfrom
chore/fix-workflows-issues
Jul 14, 2026
Merged

NZeauu merged 1 commit into
devfrom
chore/fix-workflows-issues

Conversation

@NZeauu

@NZeauu NZeauu commented Jul 14, 2026

Copy link
Copy Markdown
Member

Description

  • Gate backend/frontend jobs on dorny/paths-filter at the job level (not the workflow trigger) so required status checks complete with a real status instead of getting stuck Pending on infra-only PRs
  • Replace pnpm/action-setup with Corepack (action-setup@v6 does not install pnpm version specified in package_json_file pnpm/action-setup#227: its package_json_file input doesn't reliably resolve a non-root package.json's packageManager field)
  • Explicitly activate the pinned pnpm version via 'corepack prepare' rather than relying on cwd-based auto-discovery, which silently fell back to pnpm latest (11.x) and crashed requiring Node >=22.13
  • Bump node-version 20 -> 24 (Node 20 reached EOL 2026-04-30)
  • Add enforce-pr-target: closes any PR not targeting dev (main and release/* only move via direct push from a maintainer)

All validated end-to-end on a sandbox repo before merging here.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor / chore

Checklist

Before submitting this PR, please ensure the following:

  • DCO Signed-off: All commits are signed off (git commit -s). CI will only pass if the DCO check passes.
  • Commit Messages: Follow the Conventional Commits format (type(scope): summary)
  • Docs updated: If user-facing behavior changed, the relevant docs are updated too.

- Gate backend/frontend jobs on dorny/paths-filter at the job level (not
  the workflow trigger) so required status checks complete with a real
  status instead of getting stuck Pending on infra-only PRs
- Replace pnpm/action-setup with Corepack (pnpm/action-setup#227: its
  package_json_file input doesn't reliably resolve a non-root
  package.json's packageManager field)
- Explicitly activate the pinned pnpm version via 'corepack prepare'
  rather than relying on cwd-based auto-discovery, which silently fell
  back to pnpm latest (11.x) and crashed requiring Node >=22.13
- Bump node-version 20 -> 24 (Node 20 reached EOL 2026-04-30)
- Add enforce-pr-target: closes any PR not targeting dev (main and
  release/* only move via direct push from a maintainer)

All validated end-to-end on a sandbox repo before merging here.

Signed-off-by: NZeauu <nzeauu@proton.me>
@sonarqubecloud

Copy link
Copy Markdown

@NZeauu
NZeauu merged commit 1546ffd into dev Jul 14, 2026
2 checks passed
@NZeauu
NZeauu deleted the chore/fix-workflows-issues branch July 14, 2026 08:28
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.

1 participant