Skip to content

Commit

Permalink
ci: run postinstall script with bash
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Feb 6, 2022
1 parent b765565 commit 812299f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"scripts": {
"build": "npm run clean && tsc",
"clean": "rm -rf .*cache *.log .swc/ coverage/ dist/ logs/",
"postinstall": "npm x -y -- zx@latest ./postinstall.mjs",
"postinstall": "bash postinstall.bash",
"lint": "eslint src --ext .js,.ts",
"lint:build": "npm run lint -- --config .build.eslintrc.json",
"lint:commit": "npm x -y -- commitlint@latest --edit",
Expand Down Expand Up @@ -72,7 +72,7 @@
"@reallyland/tsconfig": "^4.0.1",
"@skypack/package-check": "^0.2.2",
"@swc/register": "^0.1.10",
"@types/node": "^17.0.14",
"@types/node": "^17.0.15",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"c8": "^7.11.0",
Expand Down
3 changes: 3 additions & 0 deletions postinstall.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

npm x -y -- zx@latest ./postinstall.mjs

0 comments on commit 812299f

Please sign in to comment.