aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-14 21:02:15 +0900
committernsfisis <nsfisis@gmail.com>2026-02-14 21:02:15 +0900
commit2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a (patch)
tree4ef25f1332de445ad756f7f40df627f288f1438f /.github/workflows
parent516cc00ba4c9d4a54ad2b261a5a4ff4164b06268 (diff)
downloadphperkaigi-2026-albatross-2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a.tar.gz
phperkaigi-2026-albatross-2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a.tar.zst
phperkaigi-2026-albatross-2f1a8a1c599300d0964d7fbbfd824e2d74f0bf4a.zip
build: introduce npm workspaces for unified dependency management
Consolidate frontend, typespec, and worker/php into a single npm workspaces setup with one root lockfile. Update Dockerfiles to use repository root as build context, and adjust justfile, CI workflow, and compose files accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6937620..9e88cd4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -40,10 +40,9 @@ jobs:
with:
node-version: 22
cache: npm
- cache-dependency-path: frontend/package-lock.json
+ cache-dependency-path: package-lock.json
- uses: extractions/setup-just@v2
- - run: npm ci
- working-directory: frontend
+ - run: npm ci -w frontend
- run: just ci
working-directory: frontend
@@ -56,9 +55,8 @@ jobs:
with:
node-version: 22
cache: npm
- cache-dependency-path: worker/php/package-lock.json
+ cache-dependency-path: package-lock.json
- uses: extractions/setup-just@v2
- - run: npm ci
- working-directory: worker/php
+ - run: npm ci -w worker/php
- run: just ci
working-directory: worker/php