Skip to content

[Closes #121] Upgrade Storybook to 8.3.1 #338

[Closes #121] Upgrade Storybook to 8.3.1

[Closes #121] Upgrade Storybook to 8.3.1 #338

Workflow file for this run

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