From 15383b92601e059e7e28441e19881bfaeb2393d8 Mon Sep 17 00:00:00 2001 From: nmanumr Date: Tue, 11 May 2021 00:59:38 +0500 Subject: [PATCH] fix(ci): ci fixes --- .github/workflows/main.yml | 3 ++- package.json | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9256328..bbf4c0f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,8 @@ jobs: with: node-version: 12 - run: npm ci - - run: mkdir dist && cp package.json dist/ + - run: npm run build + - run: cp package.json dist/ - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index d1d54d0..3e4f49e 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,6 @@ "scripts": { "build": "rm -rf dist && ttsc && rollup --config", "watch": "ttsc --watch", - "prepublishOnly": "npm run build", - "postbuild": "cp package.json dist", "semantic-release": "semantic-release" }, "repository": {