web: ensure npm install runs before build

This commit is contained in:
fatedier
2026-02-04 11:43:33 +08:00
parent 7a1c248b67
commit b8f92547df
5 changed files with 54 additions and 22 deletions

View File

@@ -23,10 +23,10 @@ jobs:
with:
node-version: '22'
- name: Build web assets (frps)
run: make install build
run: make build
working-directory: web/frps
- name: Build web assets (frpc)
run: make install build
run: make build
working-directory: web/frpc
- name: golangci-lint
uses: golangci/golangci-lint-action@v8

View File

@@ -20,10 +20,10 @@ jobs:
with:
node-version: '22'
- name: Build web assets (frps)
run: make install build
run: make build
working-directory: web/frps
- name: Build web assets (frpc)
run: make install build
run: make build
working-directory: web/frpc
- name: Make All
run: |