[#110] Fix auth page layout and css #305
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
container: node:20.16.0-bookworm | |
services: | |
db: | |
image: postgres:15.5 | |
env: | |
POSTGRES_HOST_AUTH_METHOD: trust | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up npm cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Check Formatting | |
run: npm run format:check | |
- name: Run ESLint | |
run: npm run lint --workspaces | |
- name: Initialize database, set up .env, generate Prisma client | |
run: cd server; cp example.env .env; npm run test:db:reset | |
env: | |
DATABASE_URL: postgresql://postgres@db/app | |
- name: Run Tests | |
run: npm test | |
env: | |
DATABASE_URL: postgresql://postgres@db/app |