Skip to content

Commit

Permalink
chore: Set up TEST_MODE, so it also works locally
Browse files Browse the repository at this point in the history
  • Loading branch information
FleetAdmiralJakob committed Jan 16, 2024
1 parent 545a975 commit f8acb85
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
QWEATHER_API_KEY: ${{ secrets.QWEATHER_API_KEY }}
API_NINJA_API_KEY: ${{ secrets.API_NINJA_API_KEY }}
TEST_MODE: true
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down
3 changes: 2 additions & 1 deletion packages/e2e-web-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"typecheck": "tsc --noEmit",
"dev:test": "playwright test",
"dev:test:ui": "playwright test --ui",
"e2e:test": "start-server-and-test \"(cd ../../apps/web && pnpm start)\" http://localhost:3000 dev:test"
"e2e:test": "cross-env TEST_MODE=true start-server-and-test \"(cd ../../apps/web && pnpm start)\" http://localhost:3000 dev:test"
},
"eslintConfig": {
"root": true,
Expand All @@ -29,6 +29,7 @@
"@weatherio/eslint-config": "workspace:^0.2.0",
"@weatherio/prettier-config": "workspace:^0.1.0",
"@weatherio/tsconfig": "workspace:^0.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"typescript": "^5.3.3"
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit f8acb85

@vercel
Copy link

@vercel vercel bot commented on f8acb85 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.