Skip to content

chore(ci): remove storing of entire workspace#1945

Draft
Copilot wants to merge 6 commits intomainfrom
copilot/refactor-ci-workflow-for-independence
Draft

chore(ci): remove storing of entire workspace#1945
Copilot wants to merge 6 commits intomainfrom
copilot/refactor-ci-workflow-for-independence

Conversation

Copy link
Contributor

Copilot AI commented Mar 20, 2026

actions/setup-node@v4+ has a native corepack input that calls corepack enable internally, making the standalone shell step in every job redundant.

Changes

  • Remove - name: Enable Corepack / run: corepack enable from all five jobs (build, validate, test-integration, test-create, api-governance)
  • Add corepack: true to each actions/setup-node@v6 step
# before
- name: Enable Corepack
  run: corepack enable
- uses: actions/setup-node@v6
  with:
    node-version: 24.14.0
    cache: "yarn"

# after
- uses: actions/setup-node@v6
  with:
    node-version: 24.14.0
    cache: "yarn"
    corepack: true

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…rtifacts

Co-authored-by: enell <968450+enell@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor CI workflow for improved job independence and performance chore: refactor CI to per-job self-contained setup, drop workspace artifact fan-out Mar 20, 2026
Copilot AI requested a review from enell March 20, 2026 15:34
Signed-off-by: Johan Enell <johan.enell@qlik.com>
Copilot AI changed the title chore: refactor CI to per-job self-contained setup, drop workspace artifact fan-out chore: consolidate corepack activation into setup-node Mar 20, 2026
@enell enell force-pushed the copilot/refactor-ci-workflow-for-independence branch 2 times, most recently from 4558afe to c436b2e Compare March 20, 2026 16:16
…ack input

Co-authored-by: enell <968450+enell@users.noreply.github.com>
Signed-off-by: Johan Enell <johan.enell@qlik.com>
@enell enell force-pushed the copilot/refactor-ci-workflow-for-independence branch from c436b2e to a4ccfdc Compare March 20, 2026 16:16
…repack input instead

Co-authored-by: enell <968450+enell@users.noreply.github.com>
Copilot AI changed the title chore: consolidate corepack activation into setup-node chore(ci): use setup-node's built-in corepack support instead of a separate step Mar 20, 2026
@enell enell changed the title chore(ci): use setup-node's built-in corepack support instead of a separate step chore(ci): remove storing of entire workspace Mar 20, 2026
@enell enell force-pushed the copilot/refactor-ci-workflow-for-independence branch 3 times, most recently from 9ba348e to 8fb1f32 Compare March 25, 2026 10:36
…ack input

Co-authored-by: enell <968450+enell@users.noreply.github.com>
Signed-off-by: Johan Enell <johan.enell@qlik.com>
@enell enell force-pushed the copilot/refactor-ci-workflow-for-independence branch from 8fb1f32 to 90a76bf Compare March 25, 2026 13:06
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