Skip to content

Commit 63a5b83

Browse files
committed
ci: run postinstall script with bash
1 parent f8d4a94 commit 63a5b83

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"scripts": {
4747
"build": "npm run clean && tsc",
4848
"clean": "rm -rf .*cache *.log .swc/ coverage/ dist/ logs/",
49-
"postinstall": "npm x -y -- zx@latest ./postinstall.mjs",
49+
"postinstall": "bash postinstall.bash",
5050
"lint": "eslint src --ext .js,.ts",
5151
"lint:build": "npm run lint -- --config .build.eslintrc.json",
5252
"lint:commit": "npm x -y -- commitlint@latest --edit",

postinstall.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
npm x -y -- zx@latest ./postinstall.mjs

0 commit comments

Comments
 (0)