Skip to content

Commit

Permalink
ci(frontend.yml): update working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhan005 committed Feb 11, 2024
1 parent 3187ac7 commit 8fa8d1e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ jobs:
with:
version: 8
- name: Install dependencies
working-directory: web
run: pnpm install
- name: Build
working-directory: web
run: pnpm run build
- name: Upload to release
uses: actions/upload-release-asset@v1
with:
asset-path: dist
asset-path: web/dist
asset-name: fe-production.zip
release-id: ${{ github.event.release.id }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -42,13 +44,15 @@ jobs:
with:
version: 8
- name: Install dependencies
working-directory: web
run: pnpm install
- name: Build
working-directory: web
run: pnpm run umd
- name: Upload to release
uses: actions/upload-release-asset@v1
with:
asset-path: dist
asset-path: web/dist
asset-name: fe-umd.zip
release-id: ${{ github.event.release.id }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8fa8d1e

Please sign in to comment.