Skip to content

Commit

Permalink
fix(ci): Update build workflow for Angular app
Browse files Browse the repository at this point in the history
- Removed unnecessary step to switch working directory
- Set the correct working directory for installing dependencies and building the app
- Updated artifact path to reflect the correct location of the built files
  • Loading branch information
SakuraIsayeki committed Feb 1, 2024
1 parent 02a83c5 commit fa0b426
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-package-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,16 @@ jobs:
- name: Install Angular CLI
run: npm install -g @angular/cli

- name: Switch working directory to webapp project
run: cd ./wowskarma.app

- name: Install dependencies
working-directory: ~/wows-karma.app/
run: npm install

- name: Build Angular app
working-directory: ~/wows-karma.app/
run: ng build --configuration=${{ inputs.build_configuration }}

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: wowskarma_app
path: ./dist
path: ./wowskarma.app/dist

0 comments on commit fa0b426

Please sign in to comment.