Skip to content

Commit

Permalink
ci: remove pullpreview (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
luizstacio authored Oct 5, 2023
1 parent 4e1a79a commit 2d084de
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 114 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/pr-preview.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .preview/Dockerfile

This file was deleted.

14 changes: 0 additions & 14 deletions .preview/docker-compose.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"tsup": "7.2.0",
"turbo": "^1.10.14",
"typescript": "5.2.2",
"updates": "^15.0.2"
"updates": "^15.0.2",
"next": "13.5.3"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
13 changes: 0 additions & 13 deletions packages/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,6 @@ const config = {
eslint: {
ignoreDuringBuilds: !!process.env.CI,
},
rewrites: async () => {
// This is as proxy route to enable next.js
// to proxy requests to the graphql server on
// preview environment.
return process.env.IS_PREVIEW
? [
{
source: '/graphql',
destination: '/api/graphql',
},
]
: [];
},
redirects: async () => {
return [
{
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

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

8 changes: 4 additions & 4 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"buildCommand": "pnpm -w build:preview",
"github": {
"silent": true
}
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "pnpm build:preview",
"installCommand": "pnpm install --frozen-lockfile",
"outputDirectory": "packages/app/.next"
}

0 comments on commit 2d084de

Please sign in to comment.