Files
code-crispies/.gitea/workflows/ci.yml
Michael Czechowski dcf6f2d5b8
Some checks failed
CI / ci (push) Successful in 1m12s
Deploy / deploy (push) Failing after 48s
ci: bump runner-image pin v0.1.0 → v0.2.0 (#22)
Co-authored-by: Michael Czechowski <mail@dailysh.it>
Co-committed-by: Michael Czechowski <mail@dailysh.it>
2026-05-04 23:45:56 +02:00

38 lines
937 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
container:
image: git.librete.ch/public/runner-image:v0.2.0@sha256:f60c587d3c0b0aac04a572db5349e27672bf76baec2ce547a3dcc28cebcf1b7e
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Cache npm
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install
run: npm ci --no-audit --no-fund
- name: Test
run: npm test
- name: Build (sanity)
env:
# Build needs VITE_* injected at compile time. Use placeholders
# for CI sanity build — real values are passed at deploy time.
VITE_SUPABASE_URL: https://example.invalid
VITE_SUPABASE_ANON_KEY: ci-placeholder
run: npm run build