diff --git a/.github/workflows/publish-1.x.yml b/.github/workflows/publish-1.x.yml index 6881be870..7928ce8d7 100644 --- a/.github/workflows/publish-1.x.yml +++ b/.github/workflows/publish-1.x.yml @@ -20,7 +20,6 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: yarn - - run: yarn ci - run: yarn publish --tag qiankun1 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 5cb767002..1090acdfe 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -20,7 +20,6 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: yarn - - run: yarn ci - run: yarn publish --tag latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml index f6938c712..ca2807114 100644 --- a/.github/workflows/publish-next.yml +++ b/.github/workflows/publish-next.yml @@ -18,7 +18,6 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: yarn - - run: yarn ci - run: yarn publish --tag next env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/package.json b/package.json index ee44462a3..66b87fef0 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "start:vue3": "cd examples/vue3 && yarn start", "build": "father-build", "release": "np --no-cleanup --yolo --no-publish", - "prepublishOnly": "yarn lint && yarn test && yarn build", + "prepublishOnly": "yarn ci", "lint": "yarn lint:js && yarn lint:prettier", "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src", "lint:fix": "yarn lint:js -- --fix",