Skip to content

Commit

Permalink
ci: use local cache for npx
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Feb 4, 2022
1 parent efdf1e7 commit 2bd0dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"scripts": {
"build": "npm run clean && tsc",
"clean": "rm -rf .*cache *.log .swc/ coverage/ dist/ logs/",
"postinstall": "npm x --prefer-online -y -- zx@latest ./postinstall.mjs",
"postinstall": "npm x --cache=./.cache -y -- zx@latest ./postinstall.mjs",
"lint": "eslint src --ext .js,.ts",
"lint-commit": "npm x -y -- commitlint@latest --edit",
"lint:build": "npm run lint -- --config .build.eslintrc.json",
Expand Down

0 comments on commit 2bd0dc5

Please sign in to comment.