Skip to content

Commit 52bc665

Browse files
authored
ci: drop pnpm-filter in install-dependencies (#11420)
1 parent 97b63ba commit 52bc665

File tree

8 files changed

+11
-26
lines changed

8 files changed

+11
-26
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ inputs:
55
node-version:
66
description: the version of Node.js to install
77
default: 22
8-
pnpm-filters:
9-
description: space-separated list of pnpm filters to apply (e.g., "wrangler miniflare")
10-
default: ""
118
turbo-api:
129
description: the api URL for connecting to the turbo remote cache
1310
turbo-team:
@@ -44,14 +41,4 @@ runs:
4441
4542
- name: Install NPM Dependencies
4643
shell: bash
47-
# Still install the root dependencies even if filters are provided.
48-
# Some packages may depend on root-level packages.
49-
run: |
50-
FILTERS=""
51-
if [ -n "${{ inputs.pnpm-filters }}" ]; then
52-
FILTERS="--filter ./"
53-
for filter in ${{ inputs.pnpm-filters }}; do
54-
FILTERS="$FILTERS --filter $filter"
55-
done
56-
fi
57-
pnpm install --frozen-lockfile $FILTERS
44+
run: pnpm install --frozen-lockfile

.github/workflows/auto-assign-issues.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
1818

19-
- uses: ./.github/actions/install-dependencies
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
2021
with:
2122
node-version: 22 # need this version for `Set` methods
22-
pnpm-filters: "./tools"
23+
24+
- name: Install pnpm
25+
uses: pnpm/action-setup@v4
26+
with:
27+
version: 9.12.0
28+
29+
- name: Install Dependencies
30+
run: pnpm i -F tools --frozen-lockfile
2331

2432
- name: Auto-assign issue
2533
run: node -r esbuild-register tools/github-workflow-helpers/auto-assign-issues.ts

.github/workflows/c3-dependabot-versioning-prs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424

2525
- name: Install Dependencies
2626
uses: ./.github/actions/install-dependencies
27-
with:
28-
pnpm-filters: "./tools"
2927

3028
- name: Configure Git
3129
run: |

.github/workflows/e2e-project-cleanup.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424

2525
- name: Install Dependencies
2626
uses: ./.github/actions/install-dependencies
27-
with:
28-
pnpm-filters: "./tools"
2927

3028
- name: Cleanup E2E test projects
3129
run: node -r esbuild-register tools/e2e/e2eCleanup.ts

.github/workflows/miniflare-dependabot-versioning-prs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525

2626
- name: Install Dependencies
2727
uses: ./.github/actions/install-dependencies
28-
with:
29-
pnpm-filters: "./tools"
3028

3129
- name: Configure Git
3230
run: |

.github/workflows/open-v3-maintenance-prs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333

3434
- name: Install Dependencies
3535
uses: ./.github/actions/install-dependencies
36-
with:
37-
pnpm-filters: "./tools"
3836

3937
- uses: Ana06/[email protected]
4038
id: files

.github/workflows/prerelease.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
- name: Install Dependencies
3131
uses: ./.github/actions/install-dependencies
3232
with:
33-
pnpm-filters: "./packages/*"
3433
turbo-api: ${{ secrets.TURBO_API }}
3534
turbo-team: ${{ secrets.TURBO_TEAM }}
3635
turbo-token: ${{ secrets.TURBO_TOKEN }}

.github/workflows/validate-pr-description.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
if: steps.changes.outputs.everything_but_markdown == 'true'
4545
uses: ./.github/actions/install-dependencies
4646
with:
47-
pnpm-filters: "./tools"
4847
turbo-api: ${{ secrets.TURBO_API }}
4948
turbo-team: ${{ secrets.TURBO_TEAM }}
5049
turbo-token: ${{ secrets.TURBO_TOKEN }}

0 commit comments

Comments
 (0)