CI / build (push) Canceled after 0s
CI runs svelte-check and a production build on every push. Tagged releases package the contents of dist/ as a .tgz that untars directly into a web root, with a checksum alongside. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
25 lines
429 B
YAML
25 lines
429 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: node:22-bookworm-slim
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/cache@v4
|
|
with:
|
|
path: ~/.npm
|
|
key: npm-${{ hashFiles('package-lock.json') }}
|
|
restore-keys: npm-
|
|
|
|
- run: npm ci
|
|
- run: npm run check
|
|
- run: npm run build
|