Skip to content

Commit f8aeb1f

Browse files
committed
ci: fix
1 parent 342b010 commit f8aeb1f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
- name: Install dependencies
7777
run: npm ci
7878

79+
- name: Build client and types
80+
run: npm run build
81+
7982
- name: Install webpack ${{ matrix.webpack-version }}
8083
if: matrix.webpack-version == '4'
8184
run: npm i webpack@${{ matrix.webpack-version }} --save-dev --ignore-scripts

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"commitlint": "commitlint --from=master",
2626
"build:client": "rimraf ./client/* && babel client-src/ --out-dir client/ --ignore \"client-src/webpack.config.js\" --ignore \"client-src/modules\" && webpack --config client-src/webpack.config.js",
2727
"build:types": "rimraf ./types/* && tsc --declaration --emitDeclarationOnly --outDir types && node ./scripts/extend-webpack-types.js && prettier \"types/**/*.ts\" --write && prettier \"types/**/*.ts\" --write",
28-
"build": "npm-run-all -p \"build:**\"",
28+
"build": "npm run build:client",
29+
"postbuild": "npm run-all -p \"build:**\"",
2930
"test:only": "jest",
3031
"test:coverage": "npm run test:only -- --coverage",
3132
"test:watch": "npm run test:coverage --watch",

0 commit comments

Comments
 (0)