From 2b576f6a66837d0d79c5b119babeecb2c22fecae Mon Sep 17 00:00:00 2001 From: Void Date: Sat, 7 Nov 2026 18:11:41 +0000 Subject: [PATCH] ci: build the dev branch into an rat-dev-dist artifact Push to dev builds with base /void/rat-dev/, tier low, heap 3072 MB, and uploads dist. No secrets. Consumed by gamecult-ops install-rat-dev-preview. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/rat-dev-preview.yml | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/rat-dev-preview.yml diff --git a/.github/workflows/rat-dev-preview.yml b/.github/workflows/rat-dev-preview.yml new file mode 100644 index 00000000..8ad64c55 --- /dev/null +++ b/.github/workflows/rat-dev-preview.yml @@ -0,0 +1,34 @@ +name: Rat dev preview + +on: + push: + branches: ['dev'] + +jobs: + build: + name: Build dev preview + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Checkout repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Setup node + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version-file: ".node-version" + package-manager-cache: false + - name: Install dependencies + run: npm ci + - name: Build app + env: + CINNY_BASE: /void/rat-dev/ + NODE_OPTIONS: '--max_old_space_size=3072' + run: npm run build + - name: Set background scene tier + run: node scripts/preview-config.js low + - name: Upload artifact + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: rat-dev-dist + path: dist + retention-days: 3 -- 2.47.3