Skip to content

Commit

Permalink
remove postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
Freezystem committed Dec 9, 2023
1 parent a660cbb commit c6b6394
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 2 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit c6b6394

Please sign in to comment.