Skip to content

Commit efcdf7f

Browse files
committed
fix(ci): use npm to install @blocklet/cli to avoid yarn Joi resolution bug
@arcblock/validator@1.30.0 removed the Joi export (breaking semver), causing @did-space/core to crash when yarn resolves ^1.28.5 to 1.30.0. npm deduplicates to the hoisted 1.29.x which still has Joi.
1 parent 3ddf2dd commit efcdf7f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ jobs:
2727
- name: Install dependencies
2828
run: pnpm install --frozen-lockfile
2929

30+
- name: Install blocklet CLI
31+
run: npm install -g @blocklet/cli
32+
3033
- name: Blocklet workflow
3134
uses: blocklet/action-workflow@v1
3235
with:
33-
deps-npm-client: pnpm
34-
deps-server-version: '1.17.10'
36+
skip-deps: true
3537
skip-upload: false
3638
skip-deploy: true
3739
skip-release: true

0 commit comments

Comments
 (0)