From 3220c924358d52d3b1ca54d13bd67009e9f27082 Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Wed, 19 Oct 2022 12:07:01 +0300 Subject: [PATCH] chore: remove prepublishOnly --- .github/workflows/ci.yml | 2 +- package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c36ff80..8636382 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - run: yarn test - name: Run automated release process with semantic-release - if: github.event_name == 'push' + if: github.ref_name == 'main' uses: cycjimmy/semantic-release-action@v2 with: extra_plugins: | diff --git a/package.json b/package.json index 7844ef1..df8aed4 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,7 @@ "lint": "eslint . --ext .js,.jsx,.d.ts && prettier . --check", "lint-fix": "eslint . --ext .js,.jsx,.d.ts --fix && prettier . --write", "test": "cypress run --headless", - "build": "rollup --config --bundleConfigAsCjs", - "prepublishOnly": "npm run build" + "build": "rollup --config --bundleConfigAsCjs" }, "repository": { "type": "git",