chore(deps): update node.js to efcfc9e #1084
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
branches: '**' | |
push: | |
branches: [main, master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
base: [debian, alpine] | |
env: | |
BASE: ${{ matrix.base }} # needed in tests/version.sh | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Build ${{ matrix.base }} image | |
run: docker buildx build -f ${{ matrix.base }}/Dockerfile -t hedgedoc . | |
- run: docker network create postgres | |
- run: docker run --name postgres --network postgres -e POSTGRES_USER=hedgedoc -e POSTGRES_PASSWORD=password -e POSTGRES_DB=hedgedoc --net-alias database -d postgres:13.1 | |
- run: ./tests/chore/startContainer.sh | |
- run: ls tests/*.sh | parallel | |
- run: ./tests/chore/stopContainer.sh |