Add PR workflow for downloadable web client build artifacts by Copilot · Pull Request #1 · dtinth/opencode · GitHub
Skip to content

Add PR workflow for downloadable web client build artifacts#1

Draft
Copilot wants to merge 1 commit into
devfrom
copilot/add-github-actions-workflow
Draft

Add PR workflow for downloadable web client build artifacts#1
Copilot wants to merge 1 commit into
devfrom
copilot/add-github-actions-workflow

Conversation

Copilot AI commented May 5, 2026

Copy link
Copy Markdown

Issue for this PR

PRs did not produce a downloadable web client build, so reviewers had no direct way to pull the built app artifact and test it locally.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a dedicated GitHub Actions workflow that builds the web client on pull requests and uploads the built output as an artifact.

  • Workflow

    • adds .github/workflows/web-client-artifact.yml
    • runs on pull_request and workflow_dispatch
    • cancels superseded runs for the same PR/ref
  • Build target

    • uses the existing Bun setup action
    • builds the existing web client package at packages/app
  • Artifact output

    • uploads packages/app/dist
    • names artifacts per commit/run attempt so each PR run is easy to identify
    • retains artifacts for 7 days
- name: Build web client
  run: bun --cwd packages/app build

- name: Upload web client artifact
  uses: actions/upload-artifact@v4
  with:
    name: web-client-${{ github.sha }}-${{ github.run_attempt }}
    path: packages/app/dist

How did you verify your code works?

Validated the workflow YAML parses correctly and aligned the build target/output with the existing app package scripts and CI usage of packages/app.

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Agent-Logs-Url: https://github.com/dtinth/opencode/sessions/e501ddbf-0a7e-449f-a40c-7d92eb0779d3

Co-authored-by: dtinth <193136+dtinth@users.noreply.github.com>
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants