From 395e1df24d6eb226f44788054c29784e4dbf9caf Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Mon, 13 Nov 2023 20:32:42 -0800 Subject: [PATCH] chore(build): Add multiple tries to wget step. --- .github/workflows/containers.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index a649984e..09849c41 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -401,17 +401,15 @@ jobs: run: cd docs && npm run prettier:check - name: Test docs start (webpack-dev-server) run: cd docs && timeout -s SIGINT 60 npm run start & - - run: sleep 20 - name: Test docs wget (webpack-dev-server) - run: wget http://localhost:3000 - - run: sleep 10 + run: wget --waitretry=60 http://localhost:3000 + - run: sleep 60 - name: Test docs build (webpack) run: cd docs && npm run build - name: Test docs serve (webpack) - run: cd docs && timeout -s SIGINT 10 npm run serve & - - run: sleep 5 + run: cd docs && timeout -s SIGINT 30 npm run serve & - name: Test docs wget (webpack) - run: wget http://localhost:3000 + run: wget --waitretry=30 http://localhost:3000 - name: Test less run: less --version - name: Test PAGER