Skip to content

Commit 451d3e2

Browse files
committed
chore(pnpm): remove filtering from installs
as it doesn't install top-level dependencies; also, --frozen-lockfile is the default for CI environments
1 parent 47a05dc commit 451d3e2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
registry-url: https://registry.npmjs.org/
2626
cache: 'pnpm'
2727
- run: |
28-
pnpm install --filter "./packages/**" --frozen-lockfile
28+
pnpm install
2929
git config --global user.name 'Tanner Linsley'
3030
git config --global user.email '[email protected]'
3131
npm run cipublish

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version: ${{ matrix.node }}
1919
cache: 'pnpm'
2020
- name: Install dependencies
21-
run: pnpm install --filter "./packages/**" --frozen-lockfile
21+
run: pnpm install
2222
- run: |
2323
pnpm run test:ci
2424
pnpm run test:size

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"repository": "https://github.com/tanstack/query.git",
44
"scripts": {
55
"preinstall": "if [ \"$CI\" = \"true\" ]; then echo \"Skipping preinstall...\"; else npx -y only-allow pnpm; fi",
6-
"install:csb": "pnpm install --filter \"./packages/**\" --frozen-lockfile",
6+
"install:csb": "pnpm install --frozen-lockfile",
77
"test": "(is-ci && pnpm run test:ci) || pnpm run test:dev",
88
"test:ci": "pnpm run typecheck && pnpm run test:format && pnpm run test:eslint && pnpm run test:jest",
99
"test:dev": "pnpm run typecheck && pnpm run test:format && pnpm run test:eslint && pnpm run test:jest:dev",

0 commit comments

Comments
 (0)