Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/release-ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on:
push:
branches:
- main
workflow_dispatch: {}

permissions:
contents: read

env:
NODE_VERSION: 20

jobs:
release-ui:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm

- name: Install dependencies
run: npm ci --workspaces --include=optional

- name: Install Cloudflare worker deps
run: npm ci
working-directory: packages/cloudflare

- name: Build UI
run: npm run build --workspace @codenomad/ui

- name: Publish UI zip + update manifest
working-directory: packages/cloudflare
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CODENOMAD_R2_BUCKET: ${{ vars.CODENOMAD_R2_BUCKET }}
run: npm run release:ui
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ release/
.electron-vite/
out/
.dir-locals.el
.opencode/bashOutputs/
.opencode/bashOutputs/

# Local runtime artifacts
.codenomad/
.tmp/
packages/cloudflare/.wrangler/
19 changes: 8 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codenomad-workspace",
"version": "0.7.5",
"version": "0.7.6",
"private": true,
"description": "CodeNomad monorepo workspace",
"workspaces": {
Expand Down
1 change: 1 addition & 0 deletions packages/cloudflare/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
Loading