소스 검색

[Actions]Update workflow.

dufu1991 3 년 전
부모
커밋
fdf62212eb
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      .github/workflows/publish-stdf.yml

+ 2 - 2
.github/workflows/publish-stdf.yml

@@ -28,12 +28,12 @@ jobs:
                   cp README.md packages/stdf/README.md
 
             # cd packages/stdf 目录下
-            # 执行 node/scripts/dist.js 脚本
+            # 执行 npm run dist
             # 发布 stdf 到 npm
             - name: Publish
               run: |
                   cd packages/stdf
-                  node scripts/dist.js
+                  npm run dist
                   npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
                   npm publish
               env: