From c6b6394c0f55cbab1d0a1cded3564b3878328d4d Mon Sep 17 00:00:00 2001 From: Nicolas Polizzo Date: Sat, 9 Dec 2023 21:58:16 +0100 Subject: [PATCH] remove postinstall script --- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- package-lock.json | 5 ++--- package.json | 3 +-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 45a454d..bddff2e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: node-version: 20 registry-url: "https://registry.npmjs.org" - name: Install and Build - run: npm ci + run: npm ci && npm run build - name: Publish to NPM run: npm publish --access public env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8c26a2..3fa15e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 20 + fetch-depth: 0 - name: Setup Node and NPM uses: actions/setup-node@v4 with: diff --git a/package-lock.json b/package-lock.json index 130ceea..5d70894 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,12 @@ { "name": "@freezystem/mjml-bar-chart", - "version": "1.2.2", + "version": "1.2.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@freezystem/mjml-bar-chart", - "version": "1.2.2", - "hasInstallScript": true, + "version": "1.2.3", "license": "MIT", "dependencies": { "mjml": "^4.14.1", diff --git a/package.json b/package.json index 4a6a563..abd3b0b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "git", "url": "https://github.com/Freezystem/mjml-bar-chart.git" }, - "version": "1.2.2", + "version": "1.2.3", "description": "A simple MJML component to make static bar charts", "keywords": [ "mjml", @@ -34,7 +34,6 @@ "watch": "tsc --watch", "prebuild": "rm -rf build", "build": "tsc -b tsconfig.json tsconfig.esm.json tsconfig.types.json", - "postinstall": "npm run build", "test": "jest", "test:coverage": "jest --coverage", "test:snap": "jest --updateSnapshot",