Skip to content

Commit fc1ba6f

Browse files
committed
add: needed node_modules to client/out in build
1 parent 76961d5 commit fc1ba6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
cd client
7373
npm ci
74-
npx tsc
74+
npm run build
7575
cd ..
7676
7777
- name: Build Addon Manager WebVue

client/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"version": "0.0.1",
77
"publisher": "vscode",
88
"scripts": {
9-
"lint": "npx eslint src/"
9+
"lint": "npx eslint src/",
10+
"build": "tsc",
11+
"postbuild": "cp package*.json out && cd out && npm ci --omit=dev"
1012
},
1113
"repository": {
1214
"type": "git",

0 commit comments

Comments
 (0)