Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build tests #3095

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@ jobs:
with:
path: |
site/gatsby-site/public
site/gatsby-site/.cache/functions
site/gatsby-site/netlify/functions
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ inputs.sha }}-${{ inputs.cache-modifier }}
2 changes: 1 addition & 1 deletion .github/workflows/test-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
with:
path: |
site/gatsby-site/public
site/gatsby-site/.cache/functions
site/gatsby-site/netlify/functions
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ inputs.sha }}-${{ inputs.cache-modifier }}

- name: Install playwright browsers
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
with:
path: |
site/gatsby-site/public
site/gatsby-site/.cache/functions
site/gatsby-site/netlify/functions
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ inputs.sha }}-${{ inputs.cache-modifier }}

- name: Extract branch name
Expand All @@ -91,7 +91,7 @@ jobs:
parallel: true
group: "Cypress e2e tests"
tag: ${{ steps.extract_branch.outputs.branch }}
start: node node_modules/.bin/gatsby serve -p 8000 -H 127.0.0.1
start: npx -y pm2 start npm --name "web-server" -- run serve && npx pm2 logs "web-server"
wait-on: http://127.0.0.1:8000
wait-on-timeout: 60
env:
Expand Down
Loading