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 bb1643f commit d7d07bc
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 @@ -44,7 +44,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:build": "npm run lint -- --config .build.eslintrc.json",
"lint:commit": "npm x -y -- commitlint@latest --edit",
Expand Down

0 comments on commit d7d07bc

Please sign in to comment.