mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-09-09 16:01:56 -07:00
Add a Docker workflow that builds on PRs and pushes to ghcr.io/chewbaccalakis/rfid-database on main (latest + sha) and v* tags. Drop the redundant docker-build job from CI.
25 lines
486 B
YAML
25 lines
486 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
check:
|
|
name: lint-typecheck-test-build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
cache: "npm"
|
|
- run: npm ci
|
|
- run: npm run lint
|
|
- run: npm run typecheck
|
|
- run: npm test
|
|
- run: npm run build
|
|
env:
|
|
AUTH_SECRET: ci-build-secret-at-least-32-characters
|