north-scape/relayboard
Relayboard: accessible team boards with audited actions, dependency maps, and shared web/MCP use cases.
A remix template · 0 remixes · Remix north-scape/relayboard
.github/workflows/ci.yml
# Dodil Git runs this on every push (.github is the workflow format, not GitHub).
# The image goes to THIS repo's org, so every remix builds into its own org.
name: ci
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: "3.12" }
- run: pip install -r app/requirements.lock -r requirements-dev.txt
- run: cd app && python -m pytest -q ../tests
- run: python scripts/check_template.py
- uses: actions/setup-node@v4
with: { node-version: "22" }
- run: npm ci --ignore-scripts
- run: node --check app/boards/doors/static/app.js && npm test
build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: image name
id: img
# Image names must be lowercase; some org names are not (e.g. IHDIASH).
run: |
org="${DODIL_GIT_ORG:?}"; repo="${DODIL_GIT_REPO_NAME:?}"
echo "ref=$DODIL_REGISTRY_URL/${org,,}/${repo,,}:$DODIL_GIT_SHA" >> "$GITHUB_OUTPUT"
shell: bash
env:
DODIL_REGISTRY_URL: ${{ secrets.DODIL_REGISTRY_URL }}
- uses: docker/login-action@v3
with:
registry: ${{ secrets.DODIL_REGISTRY_URL }}
username: ci
password: ${{ secrets.DODIL_REGISTRY_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: app
push: true
tags: ${{ steps.img.outputs.ref }}