build(deps): bump mongodb from 4.17.0 to 6.12.0 in /docker/modbus-serial #3152
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: lights-test | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.2 | |
- name: Run containers | |
run: | | |
sudo chown -R 1000:1000 data/nodered | |
docker compose --env-file example.env up --build --force-recreate -d automations features broker | |
- name: Setup node | |
uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: 22 | |
node-version-file: docker/test/.nvmrc | |
- name: Run tests | |
run: | | |
docker compose --env-file example.env ps | |
cd docker/test | |
npm ci | |
sleep 30 | |
docker ps | |
docker compose --env-file ../../example.env logs | |
npm start |