From ebca8882ef573cf6a524492ac044b9aa4c72fa07 Mon Sep 17 00:00:00 2001 From: Kuitos Date: Tue, 25 May 2021 14:52:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20remove=20duplicated=20publish=20?= =?UTF-8?q?ci=20(#1467)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-1.x.yml | 1 - .github/workflows/publish-latest.yml | 1 - .github/workflows/publish-next.yml | 1 - package.json | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) 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",