Skip to content

Merge pull request #7 from gregario/feat/get-board-tool #15

Merge pull request #7 from gregario/feat/get-board-tool

Merge pull request #7 from gregario/feat/get-board-tool #15

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: swarm_protocol
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm test
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/swarm_protocol