From 0ea3c9eb0c3cc4cfba1ab1bdec5b6113e84605c3 Mon Sep 17 00:00:00 2001 From: Mario Souto <13791385+omariosouto@users.noreply.github.com> Date: Sun, 12 Dec 2021 13:46:41 -0300 Subject: [PATCH] foi --- .github/workflows/release.yml | 4 +++- package.json | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 476aefe..c262ad0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,4 +21,6 @@ jobs: GIT_AUTHOR_NAME: "@bumper-bot" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN || secrets.GITHUB_TOKEN }} - run: yarn deploy:release + run: | + yarn release + yarn deploy:release diff --git a/package.json b/package.json index 55450a5..e54361a 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,8 @@ "type": "git", "url": "https://github.com/skynexui/react.git" }, - "publishConfig": { - "registry": "https://npm.pkg.github.com/" - }, "scripts": { "deploy:release": "semantic-release", - "prepublishOnly": "yarn run release", "release": "yarn run build:dev && yarn run build:prod", "build:dev": "NODE_ENV=development rollup -c", "build:prod": "NODE_ENV=production rollup -c"