Skip to content

Commit 2c2ed29

Browse files
committed
feat: split main and post tasks and updated build pipeline to work with split files.
1 parent 361ea07 commit 2c2ed29

File tree

8 files changed

+41
-27462
lines changed

8 files changed

+41
-27462
lines changed

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
. "$(dirname "$0")/_/husky.sh"
33

44
npm install
5-
nom run build
6-
git add dist/index.js
5+
npm run build
6+
git add dist_main/index.js dist_post/index.js

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ inputs:
1616
default: "certificate.p12"
1717
runs:
1818
using: "node20"
19-
main: "dist/index.js"
20-
post: "dist/index.js"
19+
main: "dist_main/index.js"
20+
post: "dist_post/index.js"

0 commit comments

Comments
 (0)