Skip to content

docs: record verified VM import and SSH setup #2

docs: record verified VM import and SSH setup

docs: record verified VM import and SSH setup #2

name: Backend quality gate
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
backend-checks:
name: Backend checks
runs-on: [self-hosted, linux, x64, t07-project-2]
timeout-minutes: 15
defaults:
run:
working-directory: server
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: server/package-lock.json
- name: Install dependencies
run: npm ci
- name: Check types including scripts and tests
run: npm run typecheck
- name: Run data, migration and GraphQL tests
run: npm run test:data
- name: Build backend
run: npm run build