Skip to content

Commit 1f03d9b

Browse files
committed
ci: remove unused turbo-cache input from node-setup action
1 parent c4e29ea commit 1f03d9b

6 files changed

Lines changed: 0 additions & 32 deletions

File tree

.github/actions/node-setup/action.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ description: General setup of node
33
inputs:
44
node-version:
55
default: 24
6-
turbo-cache:
7-
default: true
86

97
runs:
108
using: composite
@@ -14,26 +12,6 @@ runs:
1412
shell: bash
1513
run: echo "TURBO_DAEMON=false" >> "$GITHUB_ENV"
1614

17-
- name: Get pnpm lockfile hash
18-
if: ${{ inputs.turbo-cache == 'true' }}
19-
id: pnpm-lock-hash
20-
shell: bash
21-
run: |
22-
if [ -f pnpm-lock.yaml ]; then
23-
echo "hash=$(sha256sum pnpm-lock.yaml | cut -d' ' -f1)" >> $GITHUB_OUTPUT
24-
else
25-
echo "hash=no-lockfile" >> $GITHUB_OUTPUT
26-
fi
27-
28-
- name: Cache turbo build setup
29-
if: ${{ inputs.turbo-cache == 'true' }}
30-
uses: actions/cache@v5
31-
with:
32-
path: .turbo
33-
key: ${{ runner.os }}-turbo-${{ steps.pnpm-lock-hash.outputs.hash }}
34-
restore-keys: |
35-
${{ runner.os }}-turbo-
36-
3715
- name: Setup pnpm
3816
uses: pnpm/action-setup@v5
3917

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ jobs:
102102
- name: Setup node and install deps
103103
if: steps.check.outputs.should-publish == 'true'
104104
uses: ./.github/actions/node-setup
105-
with:
106-
turbo-cache: false
107105

108106
# Build the extension and its workspace dependencies (lsp, rules, core)
109107
# in the correct order — vsce does not run the "prepack" build hook.

.github/workflows/copilot-setup-steps.yml

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

2626
- name: Setup node and install deps
2727
uses: ./.github/actions/node-setup
28-
with:
29-
turbo-cache: false
3028

3129
# Cross-package type resolution relies on built `dist` output. Without this,
3230
# the agent's first `tsc`/`vitest` run fails on unresolved workspace imports.

.github/workflows/next.yml

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

6666
- name: Setup node and install deps
6767
uses: ./.github/actions/node-setup
68-
with:
69-
turbo-cache: false
7068

7169
- name: Create Release Pull Request or Publish to npm
7270
id: changesets

.github/workflows/pr.yml

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

5252
- name: Setup node and install deps
5353
uses: ./.github/actions/node-setup
54-
with:
55-
turbo-cache: false
5654

5755
- uses: reviewdog/action-setup@v1
5856

.github/workflows/pre-release.yml

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

4848
- name: Setup node and install deps
4949
uses: ./.github/actions/node-setup
50-
with:
51-
turbo-cache: false
5250

5351
- name: Create snapshot
5452
uses: ./.github/actions/changeset-snapshot

0 commit comments

Comments
 (0)