Skip to content

Commit

Permalink
revert: change related to running playwright with next start
Browse files Browse the repository at this point in the history
  • Loading branch information
ixartz committed Jan 7, 2024
1 parent e9e0c17 commit 1a2d0b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/CI.yml
Expand Up @@ -45,9 +45,6 @@ jobs:
cache: "npm"
- run: npm ci

- name: Build Next.js for E2E tests
run: npm run build

- if: github.event_name == 'pull_request'
name: Validate all commits from PR
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -295,8 +295,8 @@ For your information, the database migration is not compatible with the Edge run

```tsx
if (process.env.NODE_ENV !== 'production') {
await migrate(db, { migrationsFolder: './migrations' });
}
await migrate(db, { migrationsFolder: './migrations' });
}
```

After disabling it, you are required to run the migration manually with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"dev:spotlight": "spotlight-sidecar",
"dev:next": "next dev",
"dev": "run-p dev:*",
"build": "next build",
"build": "npm run db:migrate && next build",
"start": "next start",
"build-stats": "cross-env ANALYZE=true npm run build",
"clean": "rimraf .next .swc out coverage",
Expand Down

0 comments on commit 1a2d0b6

Please sign in to comment.