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 0ad5830
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 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
1 change: 0 additions & 1 deletion package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
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 0ad5830

Please sign in to comment.