Merge pull request #153 from BRAVO68WEB/dependabot/npm_and_yarn/sharp… #443
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: Test Bot (Docker) | |
on: | |
push: | |
pull_request: | |
jobs: | |
docker: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Write ENV_DISCORD to apps/discord/.env | |
run: | | |
wget ${{ secrets.ENV_DISCORD }} -O apps/discord/.env | |
- name: Start containers | |
run: cd apps/discord && docker compose -f "docker-compose.yaml" up -d --build | |
- name: Wait for containers | |
run: sleep 30 | |
- name: Check for running containers | |
run: docker ps |