all repos — caroster @ a0274e02bc8c41bf48d3fbc65af71c0106dde7af

[Octree] Group carpool to your event https://caroster.io

Try to use Strapi in a service container
Tim Izzo tim@5ika.ch
Fri, 15 Sep 2023 16:50:03 +0200
commit

a0274e02bc8c41bf48d3fbc65af71c0106dde7af

parent

1d3039d8fc2a5af31230c4d062170c2368ad7140

1 files changed, 11 insertions(+), 0 deletions(-)

jump to
M .github/workflows/playwright.yml.github/workflows/playwright.yml

@@ -8,6 +8,13 @@ jobs:

test: timeout-minutes: 60 runs-on: ubuntu-latest + services: + strapi: + image: octree/caroster + ports: + - 1337:1337 + env: + NODE_ENV: test steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3

@@ -19,6 +26,10 @@ working-directory: frontend

- name: Install Playwright Browsers run: yarn playwright install --with-deps working-directory: frontend + - name: Wait for Strapi to be ready + uses: jakejarvis/wait-action@master + with: + time: '30s' - name: Run Playwright tests run: yarn playwright test working-directory: frontend