Skip to content

Commit 3b59cbb

Browse files
committed
refactor: Update FrontendRelease workflow to remove sharp package installation and dev dependencies
- Removed the step to install the sharp package for Next.js in the FrontendRelease workflow - Removed the step to remove dev dependencies in the FrontendRelease workflow refactor: Update yarn workspace build command for frontend app - Updated the yarn workspace build command for the frontend app in the FrontendRelease workflow refactor: Update FrontendRelease workflow to build frontend app using yarn workspace - Updated the FrontendRelease workflow to build the frontend app using yarn workspace refactor: Rename builddeploy step to deploy in FrontendRelease workflow - Renamed the builddeploy step to deploy in the FrontendRelease workflow refactor: Skip app and API build in FrontendRelease workflow - Skipped the app and API build steps in the FrontendRelease workflow
1 parent d1a365c commit 3b59cbb

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/FrontendRelease.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ jobs:
2828
run: yarn install --frozen-lockfile
2929
working-directory: ./apps/frontend
3030

31-
- name: Install sharp package for Next.js
32-
run: yarn add sharp
33-
working-directory: ./apps/frontend
34-
35-
- name: Remove dev dependencies
36-
run: yarn install --production
37-
working-directory: ./apps/frontend
38-
3931
- name: Build the app
4032
run: yarn workspace frontend build
4133
working-directory: ./apps/frontend

apps/frontend/tsconfig.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"extends": "@repo/typescript-config/nextjs.json",
33
"compilerOptions": {
4+
"jsx": "preserve",
45
"paths": {
5-
"@repo/*": ["../../packages/*"]
6+
"@repo/*": [
7+
"../../packages/*"
8+
]
69
},
710
"plugins": [
811
{
@@ -15,7 +18,10 @@
1518
"next.config.mjs",
1619
"**/*.ts",
1720
"**/*.tsx",
18-
".next/types/**/*.ts",
21+
".next/types/**/*.ts"
1922
],
20-
"exclude": ["node_modules","*.config.js"]
21-
}
23+
"exclude": [
24+
"node_modules",
25+
"*.config.js"
26+
]
27+
}

0 commit comments

Comments
 (0)