Repository navigation
55 lines (55 loc) · 1.53 KB
/
Copy pathcheck.yml
File metadata and controls
55 lines (55 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Check BeatGEO
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
browser-lab:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- run: node --test apps/browser-lab/*.test.mjs scripts/local-runtime.test.mjs
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v6.1.0
- uses: actions/setup-node@v7
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm -r --if-present check-types
- run: pnpm -r --if-present test
postgres-integration:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17
env:
POSTGRES_USER: beatgeo_test
POSTGRES_PASSWORD: local-ci-only
POSTGRES_DB: beatgeo_ci_test
ports: ["5432:5432"]
options: >-
--health-cmd "pg_isready -U beatgeo_test -d beatgeo_ci_test"
--health-interval 5s
--health-timeout 5s
--health-retries 10
env:
TEST_DATABASE_URL: postgres://beatgeo_test:local-ci-only@127.0.0.1:5432/beatgeo_ci_test
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v6.1.0
- uses: actions/setup-node@v7
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @workspace/web test:integration