Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
arein committed Dec 17, 2023
1 parent 20583e0 commit 9201b02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/laboratory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev:laboratory": "next dev",
"build:laboratory": "next build",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"playwright:start": "npm run dev:laboratory",
"playwright:start": "turbo run build; npm run dev:laboratory",
"playwright:install": "npx playwright install --with-deps",
"playwright:test": "npx playwright test",
"playwright:debug": "npx playwright test --debug"
Expand Down
1 change: 1 addition & 0 deletions apps/laboratory/tests/shared/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// allow localhost

Check failure on line 1 in apps/laboratory/tests/shared/constants/index.ts

View workflow job for this annotation

GitHub Actions / code_style (lint)

Comments should not begin with a lowercase character
export const LOCAL_LABS_URL = 'http://localhost:3000/library/wagmi/'
2 changes: 1 addition & 1 deletion dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ async function checkDevelopmentConstants() {
for (const f of updated_files) {
const diff = await diffForFile(f)

if (diff?.added.includes('localhost:')) {
if (diff?.added.includes('localhost:') && !diff?.added.includes('// allow localhost')) {
fail(`${f} uses localhost: which is likely a mistake`)
}
}
Expand Down

0 comments on commit 9201b02

Please sign in to comment.