Skip to content

Commit ef75c4f

Browse files
committed
fix: remove pnpm
1 parent dec1aad commit ef75c4f

6 files changed

Lines changed: 4226 additions & 9429 deletions

File tree

.github/workflows/build-ui.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,20 @@ jobs:
2626
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2727
with:
2828
node-version: "${{ env.NODE_VERSION }}"
29-
- name: Setup pnpm
30-
uses: pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2.4.1
31-
with:
32-
version: 8
29+
cache: "npm"
30+
cache-dependency-path: webapp/package-lock.json
3331
- name: Install dependencies
3432
working-directory: ./webapp
35-
run: pnpm install
33+
run: npm ci
3634
- name: Build
3735
working-directory: ./webapp
38-
run: pnpm run build
36+
run: npm run build
3937
- name: Unit tests (vitest)
4038
working-directory: ./webapp
41-
run: pnpm test:run
39+
run: npm run test:run
4240
- name: Check formatting with Prettier
4341
working-directory: ./webapp
44-
run: pnpm exec prettier . --check
42+
run: npx prettier . --check
4543

4644
e2e-ui:
4745
runs-on: ubuntu-22.04
@@ -51,19 +49,17 @@ jobs:
5149
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5250
with:
5351
node-version: "${{ env.NODE_VERSION }}"
54-
- name: Setup pnpm
55-
uses: pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2.4.1
56-
with:
57-
version: 8
52+
cache: "npm"
53+
cache-dependency-path: webapp/package-lock.json
5854
- name: Install dependencies
5955
working-directory: ./webapp
60-
run: pnpm install
56+
run: npm ci
6157
- name: Install Playwright browsers
6258
working-directory: ./webapp
63-
run: pnpm exec playwright install --with-deps chromium
59+
run: npx playwright install --with-deps chromium
6460
- name: Run Playwright tests (mock mode, no backend)
6561
working-directory: ./webapp
66-
run: pnpm test:e2e
62+
run: npm run test:e2e
6763
- name: Upload Playwright report
6864
if: failure()
6965
uses: actions/upload-artifact@v4

webapp/Caddyfile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
:{$CC_STATIC_PORT:8080} {
22
encode gzip
33

4-
handle_path /api/* {
5-
reverse_proxy {$VITE_API_URL} {
6-
header_up Host {upstream_hostport}
7-
header_up X-Forwarded-Proto https
8-
}
9-
}
10-
11-
handle /auth/* {
12-
reverse_proxy {$VITE_API_URL} {
13-
header_up Host {upstream_hostport}
14-
header_up X-Forwarded-Proto https
15-
}
16-
}
17-
184
handle {
195
root * {$APP_HOME}/webapp/dist
206

0 commit comments

Comments
 (0)