CI: build on Gitea instead of deploying to GitHub Pages
CI / build (push) Successful in 2m54s

The Pages workflow can never run again (the GitHub account is suspended).
CI now checks that the app and the embeddable bundle build from a clean
install on Node 22; once main is green, the kaskada repo bumps Galena's
ReaderJS pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
admin
2026-11-30 14:39:24 +01:00
co-authored by Claude Opus 5.5
parent b418ad60ed
commit 2ed0ea63e6
2 changed files with 17 additions and 46 deletions
+17
View File
@@ -0,0 +1,17 @@
name: CI
# Build check: the app and the embeddable bundle build from a clean install (Node 22: Vite 8 needs
# ^20.19 or >=22.12). Galena pins a ReaderJS commit; the kaskada repo bumps that pin once main is green.
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- run: npm run build:embed
-46
View File
@@ -1,46 +0,0 @@
name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npx vite build --base /ReaderJS/
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4