File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed
Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,49 @@ jobs:
1717 secrets :
1818 PYPI_API_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
1919
20+ build-webapp :
21+ runs-on : ubuntu-latest
22+ needs : release-core
23+ concurrency :
24+ group : ${{ github.workflow }}-release-build-webapp-${{ github.ref_name }}
25+ cancel-in-progress : false
26+
27+ steps :
28+ - name : Setup | Checkout Repository
29+ uses : actions/checkout@v4
30+ with :
31+ ref : ${{ github.ref_name }}
32+ fetch-depth : 0
33+
34+ - name : Force Install Corepack and Enable
35+ run : npm install -g corepack && corepack enable
36+
37+ - name : Install | Install Dependencies for UI (webapp)
38+ run : |
39+ cd webapp
40+ npm install
41+ # pnpm install --frozen-lockfile
42+
43+ - name : Build | Build UI (webapp)
44+ run : |
45+ cd webapp
46+ npm build
47+ #pnpm build
48+
49+ - name : Upload build artifacts
50+ uses : actions/upload-artifact@v4
51+ with :
52+ name : webapp-dist-${{ github.run_id }}
53+ path : webapp/dist
54+ retention-days : 1
55+
2056 release-svc1 :
2157 uses : ./.github/workflows/release-package.yml
22- needs : release-core
58+ needs : build-webapp
2359 with :
2460 package : svc1
61+ artifact_name : webapp-dist-${{ github.run_id }}
62+ artifact_target_path : packages/svc1/static/
2563 secrets :
2664 PYPI_API_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
2765
You can’t perform that action at this time.
0 commit comments