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 d71d84a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 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
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 20
fetch-tags: true
- 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 d71d84a

Please sign in to comment.