Skip to content

Commit

Permalink
chore: Update build command for client apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Sep 16, 2024
1 parent 9c39ddf commit 39eed8a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/common-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Build
run: |
cd client
yarn build
yarn build:apps
- name: Deploy
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-apps-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Build
run: |
cd client
yarn build
yarn build:apps
- name: Deploy
run: |
Expand Down
2 changes: 1 addition & 1 deletion client/apps/portal-administration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"main": "src/index.ts",
"scripts": {
"build": "fusion-framework-cli app build",
"build:apps": "fusion-framework-cli app build",
"dev": "fusion-framework-cli app dev",
"docker": "cd .. && sh docker-script.sh app-react",
"bundle": "fusion-framework-cli app pack"
Expand Down
1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dev": "npx lerna run dev",
"start": "npx lerna run serve",
"build": "npx lerna run build",
"build:apps": "npx lerna run build:apps",
"test:all": "test:coverage && build:coverage",
"test": "lerna run test",
"test:coverage": "lerna run test:coverage",
Expand Down
6 changes: 0 additions & 6 deletions clientBackend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ COPY ["/client", "."]

RUN yarn install --frozen-lockfile

# run yarn install for the portal-administration app
RUN cd apps/portal-administration
RUN npm i -g @equinor/fusion-framework-cli
RUN yarn install
RUN cd ../..

RUN npx yarn run build

# 2: Build & run web server
Expand Down

0 comments on commit 39eed8a

Please sign in to comment.