feat: add docker to gh action

This commit is contained in:
pit
2023-09-27 11:17:17 +01:00
parent f057666776
commit acb1fde5e7
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# .github/actions/docker-compose/action.yml
name: 'Docker-Compose Setup'
description: 'Sets up docker-compose'
runs:
using: 'composite'
steps:
- name: Download Docker-Compose plugin
shell: bash
run: curl -SL https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
- name: Make plugin executable
shell: bash
run: sudo chmod +x /usr/local/bin/docker-compose

View File

@ -13,6 +13,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: ./.github/actions/docker-compose
- name: Generate package-lock.json
run: npm install
- name: Install dependencies
@ -31,3 +32,5 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 30
env:
DATABASE_URL: postgres://myuser:documenso@localhost:5432/postgres