Skip to content

feat: Railway deploy template + GitHub Pages landing #2

feat: Railway deploy template + GitHub Pages landing

feat: Railway deploy template + GitHub Pages landing #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- name: Syntax check
run: |
for f in src/*.js src/channels/*.js test/*.js; do
node --check "$f"
done
- name: Smoke test
run: npm test
docker:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Build image
run: docker build -t watch-tower:ci .