Skip to content
Permalink
Browse files
chore(env): cross platform preinstall CI check. (#4775)
  • Loading branch information
Rivo T眉ksammel committed Jan 7, 2023
1 parent e7e5c96 commit 85ce6db
Showing 1 changed file with 1 addition and 1 deletion.
@@ -3,7 +3,7 @@
"repository": "https://github.com/tanstack/query.git",
"scripts": {
"clean": "pnpm --filter \"./packages/**\" --parallel --no-bail run clean",
"preinstall": "if [ \"$CI\" = \"true\" ]; then echo \"Skipping preinstall...\"; else npx -y only-allow pnpm; fi",
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
"install:csb": "pnpm install --frozen-lockfile",
"test": "pnpm run test:ci",
"test:ci": "pnpm run test:format && pnpm run test:eslint && pnpm run test:jest --collectCoverage false && pnpm run typecheck",

0 comments on commit 85ce6db

Please sign in to comment.