mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-18 19:01:29 +00:00
wait
This commit is contained in:
parent
c655b9597a
commit
3b3ff9dfd3
10
.github/workflows/test-e2e.yml
vendored
10
.github/workflows/test-e2e.yml
vendored
@ -25,6 +25,11 @@ jobs:
|
||||
- name: Checkout code
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Wait for webapp to be ready
|
||||
run: |
|
||||
npm install --no-save wait-on
|
||||
npx wait-on http://localhost:3000 --timeout 120000
|
||||
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build ${{ matrix.service }} image
|
||||
@ -52,11 +57,6 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Wait for webapp to be ready
|
||||
run: |
|
||||
npm install --no-save wait-on
|
||||
npx wait-on http://localhost:3000 --timeout 120000
|
||||
|
||||
- name: Copy env files
|
||||
run: |
|
||||
cp webapp/.env.template webapp/.env
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user