Skip to content

Commit

Permalink
Add timeout to try and solve yarn install errors
Browse files Browse the repository at this point in the history
  • Loading branch information
othyn committed Sep 10, 2022
1 parent d0b2682 commit 1d9813d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:

jobs:
build-and-push-image:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY . /working

# Build the app
# Individual commands/layers to aid with debugging the build process, as we aren't using this container anyway
RUN yarn install
RUN yarn install --network-timeout 100000
RUN yarn generate

# ----- ----- -----
Expand Down

0 comments on commit 1d9813d

Please sign in to comment.