Skip to content

Commit 0384b22

Browse files
committed
refactor: Update FrontendRelease workflow to build and deploy the frontend app
- Update the FrontendRelease workflow to include the working directory for installing dependencies and building the app. - Change the build command in the FrontendRelease workflow to use the new working directory for the frontend app. - Remove the build command from the package.json file in the packages/ui directory.
1 parent 4b71725 commit 0384b22

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/FrontendRelease.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ jobs:
2626

2727
- name: Install dependencies
2828
run: yarn install --frozen-lockfile
29+
working-directory: .
2930

3031
- name: Build the app
31-
run: yarn workspace frontend build
32+
run: yarn build
33+
working-directory: ./apps/frontend
3234

3335
- name: Deploy to Azure Static Web Apps
3436
id: builddeploy

packages/ui/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
},
1111
"scripts": {
1212
"lint": "eslint . --max-warnings 0",
13-
"dev": "storybook dev -p 7004",
14-
"build": "storybook build"
13+
"dev": "storybook dev -p 7004"
1514
},
1615
"devDependencies": {
1716
"@chromatic-com/storybook": "^1.9.0",

0 commit comments

Comments
 (0)