fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! exchan… #2899
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.2.0 | |
- name: Run containers | |
run: | | |
sudo chown -R 1000:1000 data/nodered | |
docker-compose --env-file example.env up --build --force-recreate -d | |
- name: Setup node | |
uses: actions/setup-node@v3.5.1 | |
with: | |
node-version: 14 | |
- 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 |