@@ -30,23 +30,30 @@ jobs:
3030 SOCK : ${{ steps.docker.outputs.sock }}
3131 run : echo "DOCKER_SOCK=${SOCK#unix://}" >> "$GITHUB_ENV"
3232
33- - name : Install dependencies
34- run : pnpm ci
33+ - name : Spin up docker-compose
34+ run : docker compose -f docker-compose.e2e.yml up --build --force-recreate --remove-orphans -d
3535 working-directory : e2e
3636
37- - name : Install Playwright Browsers
38- run : pnpm exec playwright install --with-deps
39- working-directory : e2e
40-
41- - name : Run Playwright tests
42- run : pnpm test
43- working-directory : e2e
44- env :
45- DOCKER_SOCKET_PATH : ${{ steps.docker-socket.outputs.DOCKER_SOCK }}
46-
47- - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
48- if : ${{ !cancelled() }}
49- with :
50- name : playwright-report
51- path : e2e/playwright-report/
52- retention-days : 5
37+ - name : Check if the url is accessible
38+ run : sleep 20s && curl -v http://tinyauth.127.0.0.1.sslip.io
39+
40+ # - name: Install dependencies
41+ # run: pnpm ci
42+ # working-directory: e2e
43+ #
44+ # - name: Install Playwright Browsers
45+ # run: pnpm exec playwright install --with-deps
46+ # working-directory: e2e
47+
48+ # - name: Run Playwright tests
49+ # run: pnpm test
50+ # working-directory: e2e
51+ # env:
52+ # DOCKER_SOCKET_PATH: ${{ steps.docker-socket.outputs.DOCKER_SOCK }}
53+ #
54+ # - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
55+ # if: ${{ !cancelled() }}
56+ # with:
57+ # name: playwright-report
58+ # path: e2e/playwright-report/
59+ # retention-days: 5
0 commit comments