Skip to content

Commit f864b7b

Browse files
committed
fix: to build clis
1 parent 9eeebcd commit f864b7b

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
- name: Setup
3838
uses: ./.github/actions/ci
3939

40+
# Needed for ESLint as otherwise imports are not resolved
41+
- name: Build CLIs
42+
uses: pnpm build:clis
43+
4044
- name: Lint
4145
run: pnpm lint
4246

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"postinstall": "./scripts/postinstall.sh",
1111
"clean": "rm -rf coverage; manypkg exec rimraf lib dist node_modules; rm -rf node_modules",
1212
"commit": "git-cz",
13-
"build": "pnpm preconstruct build",
13+
"build": "pnpm build:clis && pnpm build:packages",
14+
"build:clis": "pnpm --filter @commercetools/get-credentials --filter @commercetools/personal-data-erasure --filter @commercetools/resource-deleter build",
15+
"build:packages": "pnpm preconstruct build",
1416
"check-gh-auth-token": "if [[ -z \"${GITHUB_AUTH}\" ]]; then echo \"Need to set GITHUB_AUTH\" && exit 1; fi",
1517
"lint": "jest --projects jest.eslint.config.js jest.flow.config.js",
1618
"lint:js": "jest --config jest.eslint.config.js",

0 commit comments

Comments
 (0)