Skip to content

Commit

Permalink
Only use cypress.config for env
Browse files Browse the repository at this point in the history
  • Loading branch information
Strift committed Jan 28, 2025
1 parent 2f31253 commit c33a6f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
run: yarn
- name: Browser tests
uses: cypress-io/github-action@v4
env:
CYPRESS_NEXT_PUBLIC_MEILISEARCH_HOST: "http://0.0.0.0:7700"
CYPRESS_NEXT_PUBLIC_MEILISEARCH_API_KEY: "masterKey"
CYPRESS_NEXT_PUBLIC_TWICPICS_DOMAIN: "https://meilisearch.twic.pics"
with:
start: yarn ci:dev
wait-on: "http://localhost:3000"
Expand Down
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = defineConfig({
env: {
MEILISEARCH_HOST: 'http://0.0.0.0:7700',
MEILISEARCH_API_KEY: 'masterKey',
TWICPICS_DOMAIN: 'https://meilisearch.twic.pics',
},
e2e: {
// We've imported your old cypress plugins here.
Expand Down

0 comments on commit c33a6f5

Please sign in to comment.