Sfoglia il codice sorgente

[ci]Fix publish stdf next workflowf file

dufu1991 1 anno fa
parent
commit
1a1222b59e
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      .github/workflows/publish-stdf-next.yml

+ 8 - 0
.github/workflows/publish-stdf-next.yml

@@ -31,6 +31,14 @@ jobs:
                   cp README.md packages/stdf/README.md
                   cp LICENSE packages/stdf/LICENSE
 
+            # 打包 packages/rollup-plugin-stdf-icon 并构建
+            - name: Build rollup-plugin-stdf-icon
+              run: |
+                  cd packages/rollup-plugin-stdf-icon
+                  npm install
+                  npm run build
+                  cd ../../
+
             # cd packages/stdf 目录下
             # 发布 stdf 到 npm
             - name: Publish