From 9f99d4ba0adf2ecd3e504c8b7dc056fbb2c6e1a1 Mon Sep 17 00:00:00 2001 From: Kamran Ayub Date: Tue, 28 Jul 2020 22:26:20 -0500 Subject: [PATCH] fix(package): remove postinstall script --- .github/workflows/publish.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2f1b1d0..6dc8843 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,6 +71,7 @@ jobs: registry-url: https://registry.npmjs.org/ - run: yarn - run: yarn build + - run: yarn prepare:ci - run: yarn semantic-release env: NPM_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/package.json b/package.json index 0325e8c..dc0aaf9 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "start": "npm link && nodemon", "semantic-release": "semantic-release", "docs": "typedoc", - "postinstall": "npx copyfiles -s package.json README.md CHANGELOG.md LICENSE dist/" + "prepare:ci": "npx copyfiles -s package.json README.md CHANGELOG.md LICENSE dist/" }, "repository": { "type": "git",