mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
ci: remove turbo cache
This commit is contained in:
24
.github/workflows/documentation.yml
vendored
24
.github/workflows/documentation.yml
vendored
@@ -34,23 +34,14 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
cache-dependency-path: yarn.lock
|
cache-dependency-path: yarn.lock
|
||||||
|
|
||||||
- name: Turbo cache
|
|
||||||
id: turbo-cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
turbo-${{ github.job }}-${{ github.ref_name }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn --immutable
|
run: yarn --immutable
|
||||||
|
|
||||||
- name: Build dependencies
|
- name: Build dependencies
|
||||||
run: yarn build --cache-dir=".turbo"
|
run: yarn build
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: yarn docs --cache-dir=".turbo"
|
run: yarn docs
|
||||||
|
|
||||||
- name: Upload docgen artifacts
|
- name: Upload docgen artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
@@ -95,20 +86,11 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
cache-dependency-path: yarn.lock
|
cache-dependency-path: yarn.lock
|
||||||
|
|
||||||
- name: Turbo cache
|
|
||||||
id: turbo-cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
turbo-${{ github.job }}-${{ github.ref_name }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn --immutable
|
run: yarn --immutable
|
||||||
|
|
||||||
- name: Build actions
|
- name: Build actions
|
||||||
run: yarn build --cache-dir=".turbo"
|
run: yarn build
|
||||||
|
|
||||||
- name: Download docgen artifacts
|
- name: Download docgen artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
|||||||
11
.github/workflows/publish-dev.yml
vendored
11
.github/workflows/publish-dev.yml
vendored
@@ -36,15 +36,6 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
cache-dependency-path: yarn.lock
|
cache-dependency-path: yarn.lock
|
||||||
|
|
||||||
- name: Turbo cache
|
|
||||||
id: turbo-cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
turbo-${{ github.job }}-${{ github.ref_name }}-
|
|
||||||
|
|
||||||
- name: Check previous released version
|
- name: Check previous released version
|
||||||
id: pre-release
|
id: pre-release
|
||||||
run: |
|
run: |
|
||||||
@@ -58,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build dependencies
|
- name: Build dependencies
|
||||||
if: steps.pre-release.outputs.release == 'true'
|
if: steps.pre-release.outputs.release == 'true'
|
||||||
run: yarn build --cache-dir=".turbo"
|
run: yarn build
|
||||||
|
|
||||||
- name: Deprecate old versions
|
- name: Deprecate old versions
|
||||||
if: steps.pre-release.outputs.release == 'true'
|
if: steps.pre-release.outputs.release == 'true'
|
||||||
|
|||||||
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@@ -15,20 +15,11 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
cache-dependency-path: yarn.lock
|
cache-dependency-path: yarn.lock
|
||||||
|
|
||||||
- name: Turbo cache
|
|
||||||
id: turbo-cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
turbo-${{ github.job }}-${{ github.ref_name }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn --immutable
|
run: yarn --immutable
|
||||||
|
|
||||||
- name: ESLint
|
- name: ESLint
|
||||||
run: yarn lint --cache-dir=".turbo"
|
run: yarn lint
|
||||||
|
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: yarn test
|
run: yarn test
|
||||||
@@ -38,4 +29,4 @@ jobs:
|
|||||||
if: github.repository_owner == 'discordjs'
|
if: github.repository_owner == 'discordjs'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build --cache-dir=".turbo"
|
run: yarn build
|
||||||
|
|||||||
Reference in New Issue
Block a user