Ratatoskr/.github/workflows/rat-dev-preview.yml
Void 2b3384ff5c
Some checks failed
Rat dev preview / Build dev preview (push) Failing after 3m0s
ci: upload the dev preview artifact with forgejo/upload-artifact
actions/upload-artifact v4+ throws GHESNotSupportedError on this forge (run 169);
Forgejo's fork is the supported uploader.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 18:29:53 +00:00

35 lines
1 KiB
YAML

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
# Forgejo's fork: upstream upload-artifact v4+ refuses non-GitHub servers (GHESNotSupportedError).
uses: forgejo/upload-artifact@v4
with:
name: rat-dev-dist
path: dist
retention-days: 3