Update nodejs #4039
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: 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-v7 | |
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 |