diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c72cd9138..18e88a788 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,7 @@ jobs: - run: npm run build:website # examples/basic 里面的 ts 转换 成 js版本并存储到 examples/basicjs - run: yarn run build:js + - run: npm run css:build - name: Create Tag id: create_tag diff --git a/package.json b/package.json index f9748894b..448066592 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,8 @@ "watch:hooks": "lerna exec --scope @antdp/hooks -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}", "watch:request": "lerna exec --scope @antdp/request -- tsbb watch --use-babel src/*.{js,ts,tsx,jsx}", "⬆️⬆️⬆️⬆️⬆️ watch::package ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ watch::package ▲▲▲▲▲", + "css:build": "lerna exec --scope @antdp/* -- compile-less -d src -o esm", + "css:watch": "lerna exec --scope @antdp/* -- compile-less -d src -o esm --watch", "----": "----", "build:js": "node ./script/copy", "version": "lerna version --exact --force-publish --no-push --no-git-tag-version",