Skip to content

Fix CI workflow: install pnpm before setup-node caching#36

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/fix-workflow-issues
Draft

Fix CI workflow: install pnpm before setup-node caching#36
Copilot wants to merge 4 commits intomainfrom
copilot/fix-workflow-issues

Conversation

Copy link
Contributor

Copilot AI commented Nov 2, 2025

CI workflow failed on every run with "Unable to locate executable file: pnpm" because setup-node@v4 attempted to configure pnpm caching before pnpm was installed.

Changes

  • Reordered workflow steps: Move pnpm/action-setup@v4 before setup-node@v4 so pnpm is available when caching is configured
  • Enforce frozen lockfile: Use --frozen-lockfile instead of --frozen-lockfile=false for reproducible CI builds
  • Remove error suppression: Drop || true from typecheck to surface type errors properly
  • Simplify logic: Remove conditional lockfile checks (no longer needed)
  steps:
    - uses: actions/checkout@v4

-   - uses: actions/setup-node@v4
-     if: ${{ hashFiles('pnpm-lock.yaml') != '' }}
+   - uses: pnpm/action-setup@v4
      with:
-       node-version: '20'
-       cache: 'pnpm'
+       version: 9
+       run_install: false

-   - uses: pnpm/action-setup@v4
+   - uses: actions/setup-node@v4
      with:
-       version: 9
-       run_install: false
+       node-version: '20'
+       cache: 'pnpm'

-   - run: pnpm install --frozen-lockfile=false
+   - run: pnpm install --frozen-lockfile

Note: Workflow runs show "action_required" due to bot PR author requiring maintainer approval (GitHub Actions security policy).

Original prompt

Your tasked with audit and fixing all workflow issues. Everytime a workflow runs it fails. Find solution and apply all patches to assure deployment ready production all

stevenschling13/Notion-Grow-Ops – ci #183
7 minutes ago
ci workflow run failed for codex/fix-ci-workflow-failures branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #182
7 minutes ago
ci workflow run failed for codex/fix-ci-workflow-failures branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #181
7 minutes ago
ci workflow run failed for codex/fix-ci-workflow-failures branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops #33
9 minutes ago
Ensure manual agent prompt input type is explicit
@chatgpt-codex-connector
@Copilot
@stevenschling13
author

stevenschling13/Notion-Grow-Ops – ci #178
11 minutes ago
ci workflow run failed for codex/add-one-shot-agent-setup-workflow branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #180
11 minutes ago
ci workflow run failed for codex/add-one-shot-agent-setup-workflow branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #179
11 minutes ago
ci workflow run failed for codex/add-one-shot-agent-setup-workflow branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #177
12 minutes ago
ci workflow run failed for codex/conduct-code-audit-and-create-readme branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #175
12 minutes ago
ci workflow run failed for codex/conduct-code-audit-and-create-readme branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #176
12 minutes ago
ci workflow run failed for codex/conduct-code-audit-and-create-readme branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops #31
18 minutes ago
Add one-shot agent setup workflow
@Copilot
@Copilot
@chatgpt-codex-connector
assigned

stevenschling13/Notion-Grow-Ops – Notion Issues Sync #1
19 minutes ago
Notion Issues Sync workflow run, Attempt #2 failed for main branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #168
54 minutes ago
ci workflow run failed for main branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #166
1 hour ago
ci workflow run, Attempt #2 failed for copilot/connect-to-notion branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #167
1 hour ago
ci workflow run failed for copilot/connect-to-notion branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops #30
11 hours ago
Add Notion API integration for photo analysis writebacks
@Copilot
@stevenschling13
review requested

stevenschling13/Notion-Grow-Ops #29
11 hours ago
Add Notion issues sync workflow
@Copilot
@Copilot
@stevenschling13
review requested

stevenschling13/Notion-Grow-Ops – ci #156
11 hours ago
ci workflow run failed for main branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops – ci #149
12 hours ago
ci workflow run failed for ci/notion-sync-setup branch
@stevenschling13
ci activity

stevenschling13/Notion-Grow-Ops #28
12 hours ago
Add GitHub Actions workflow for Notion issue sync with manual testing
@stevenschling13
@Copilot
review requested

stevenschling13/Notion-Grow-Ops #27
14 hours ago
Add GitHub Actions workflow for bidirectional Notion issue sync
@Copilot
review requested

stevenschling13/repoops-v4-vercel #25
16 hours ago
Add Codex usage documentation for AI-assisted development
@Copilot
@vercel
review requested

stevenschling13/Notion-Grow-Ops #21
16 hours ago
Optimize property mapping and array operations for better performance
@Copilot
@Copilot
@stevenschling13
assigned

stevenschling13/Notion-Grow-Ops #25
16 hours ago
Configure Copilot instructions per best practices
@Copilot
@Copilot
@stevenschling13
assigned

stevenschling13/Notion-Grow-Ops #23
17 hours ago
Enhance Copilot instructions with agent best practices
@Copilot
review requested


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

Copilot AI and others added 3 commits November 2, 2025 16:38
Co-authored-by: stevenschling13 <176538646+stevenschling13@users.noreply.github.com>
Co-authored-by: stevenschling13 <176538646+stevenschling13@users.noreply.github.com>
Co-authored-by: stevenschling13 <176538646+stevenschling13@users.noreply.github.com>
Copilot AI changed the title [WIP] Audit and fix all workflow failures Fix CI workflow: install pnpm before setup-node caching Nov 2, 2025
Copilot AI requested a review from stevenschling13 November 2, 2025 16:46
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