diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 45a454d..56230c3 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 build - name: Publish to NPM run: npm publish --access public env: diff --git a/package-lock.json b/package-lock.json index 130ceea..2845455 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@freezystem/mjml-bar-chart", - "version": "1.2.2", + "version": "1.2.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@freezystem/mjml-bar-chart", - "version": "1.2.2", + "version": "1.2.4", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 4a6a563..e714e44 100644 --- a/package.json +++ b/package.json @@ -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",