Skip to content

Commit c73b458

Browse files
authored
Merge pull request #34 from GizzZmo/copilot/fix-a2ace969-c90b-4906-87d2-05b802b14503
Fix CI workflow: correct npm scripts and add missing monorepo build steps
2 parents 8b2f2e0 + beed524 commit c73b458

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,28 @@ jobs:
2525
cache: 'npm'
2626

2727
- name: Install dependencies
28-
run: npm ci
28+
run: |
29+
npm ci
30+
npm ci --prefix server
31+
npm ci --prefix client
2932
30-
- name: Build
31-
run: npm run build
33+
- name: Build shared types
34+
run: tsc --build src/types
3235

33-
- name: Run tests
34-
run: npm test
36+
- name: Build all components
37+
run: npm run build:all
3538

3639
- name: Lint code
37-
run: npm run lint
40+
run: npm run lint:all
3841
continue-on-error: true
3942

4043
- name: Upload build artifacts
4144
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
4245
with:
4346
name: build-artifacts
44-
path: dist/
47+
path: |
48+
dist/
49+
server/dist/
50+
client/dist/
51+
src/types/dist/
4552
retention-days: 14

0 commit comments

Comments
 (0)