Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(ci): release build web app on namespace mid + web-ci cache (#4532)

teo6194b138d12e
diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.yml
index 4f59397065..4d1ba45e62 100644
--- a/.github/workflows/release-production.yml
+++ b/.github/workflows/release-production.yml
@@ -26,17 +26,28 @@ jobs:
build:
name: Build Web App
- runs-on: linux-extra-beefy
+ runs-on: namespace-profile-linux-mid;overrides.cache-tag=web-ci
env:
CI: "true"
steps:
- name: Checkout Repo
uses: actions/checkout@v6
+ # Namespace cache volume: warm Nix dev shell + bun cache shared with the
+ # web PR checks / previews / dev deploys. Optimization only, hence
+ # continue-on-error.
+ - name: Mount Namespace cache volume
+ continue-on-error: true
+ uses: namespacelabs/nscloud-cache-action@15799a6b54e5765f85b2aac25b3f0df43ed571c0 # v1.4.3
+ with:
+ cache: bun
+ path: /nix
+ # Namespace runners don't ship Nix; must run before setup-reqs-web.
+ - name: Setup Nix
+ uses: ./.github/actions/setup-nix
- name: Setup Prereqs
uses: ./.github/actions/setup-reqs-web
with:
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- sccache-bucket: ${{ vars.SCCACHE_BUCKET || secrets.SCCACHE_BUCKET }}
- name: Build for Production
working-directory: js/app
run: just build-prod