-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 1.1 KB
/
check-seed-generators.yml
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
name: Check seed data generators
on:
pull_request:
jobs:
check_seed_data_generators:
name: Check seed data generators
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Start e2e env
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v8
with:
custom_docker_compose: ./docker/docker-compose.custom.yml
- uses: actions/setup-node@v4
with:
node-version: '18.19.0'
cache: 'yarn'
- name: Install node_modules
# making sure that we do have the proper set of node_modules installed regardless of what's cached
run: yarn install --frozen-lockfile
- name: Build test-db-manager
run: yarn ws:db build
# Verify that the seed data generators succeed without errors, no further testing for now
# Only running timetables seed, because stop registry seed requires routes DB to be populated as well.
- name: Insert seed data
run: yarn ws:db seed:timetables