Skip to content

Commit b316ac7

Browse files
committed
ci: remove turbo cache
1 parent ed94b3d commit b316ac7

File tree

3 files changed

+6
-42
lines changed

3 files changed

+6
-42
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,14 @@ jobs:
3434
cache: 'yarn'
3535
cache-dependency-path: yarn.lock
3636

37-
- name: Turbo cache
38-
id: turbo-cache
39-
uses: actions/cache@v3
40-
with:
41-
path: .turbo
42-
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
43-
restore-keys: |
44-
turbo-${{ github.job }}-${{ github.ref_name }}-
45-
4637
- name: Install dependencies
4738
run: yarn --immutable
4839

4940
- name: Build dependencies
50-
run: yarn build --cache-dir=".turbo"
41+
run: yarn build
5142

5243
- name: Build docs
53-
run: yarn docs --cache-dir=".turbo"
44+
run: yarn docs
5445

5546
- name: Upload docgen artifacts
5647
uses: actions/upload-artifact@v3
@@ -95,20 +86,11 @@ jobs:
9586
cache: 'yarn'
9687
cache-dependency-path: yarn.lock
9788

98-
- name: Turbo cache
99-
id: turbo-cache
100-
uses: actions/cache@v3
101-
with:
102-
path: .turbo
103-
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
104-
restore-keys: |
105-
turbo-${{ github.job }}-${{ github.ref_name }}-
106-
10789
- name: Install dependencies
10890
run: yarn --immutable
10991

11092
- name: Build actions
111-
run: yarn build --cache-dir=".turbo"
93+
run: yarn build
11294

11395
- name: Download docgen artifacts
11496
uses: actions/download-artifact@v3

.github/workflows/publish-dev.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ jobs:
3636
cache: 'yarn'
3737
cache-dependency-path: yarn.lock
3838

39-
- name: Turbo cache
40-
id: turbo-cache
41-
uses: actions/cache@v3
42-
with:
43-
path: .turbo
44-
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
45-
restore-keys: |
46-
turbo-${{ github.job }}-${{ github.ref_name }}-
47-
4839
- name: Check previous released version
4940
id: pre-release
5041
run: |
@@ -58,7 +49,7 @@ jobs:
5849

5950
- name: Build dependencies
6051
if: steps.pre-release.outputs.release == 'true'
61-
run: yarn build --cache-dir=".turbo"
52+
run: yarn build
6253

6354
- name: Deprecate old versions
6455
if: steps.pre-release.outputs.release == 'true'

.github/workflows/test.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,11 @@ jobs:
1515
cache: 'yarn'
1616
cache-dependency-path: yarn.lock
1717

18-
- name: Turbo cache
19-
id: turbo-cache
20-
uses: actions/cache@v3
21-
with:
22-
path: .turbo
23-
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
24-
restore-keys: |
25-
turbo-${{ github.job }}-${{ github.ref_name }}-
26-
2718
- name: Install dependencies
2819
run: yarn --immutable
2920

3021
- name: ESLint
31-
run: yarn lint --cache-dir=".turbo"
22+
run: yarn lint
3223

3324
- name: Tests
3425
run: yarn test
@@ -38,4 +29,4 @@ jobs:
3829
if: github.repository_owner == 'discordjs'
3930

4031
- name: Build
41-
run: yarn build --cache-dir=".turbo"
32+
run: yarn build

0 commit comments

Comments
 (0)