ci: disable turbo cache (#3836)

Co-authored-by: Hien To <tominhhien97@gmail.com>
This commit is contained in:
hiento09 2024-10-17 16:35:47 +07:00 committed by GitHub
parent a2efa357fa
commit e7c5a398c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,9 +105,9 @@ jobs:
make test make test
env: env:
CSC_IDENTITY_AUTO_DISCOVERY: 'false' CSC_IDENTITY_AUTO_DISCOVERY: 'false'
TURBO_API: '${{ secrets.TURBO_API }}' # TURBO_API: '${{ secrets.TURBO_API }}'
TURBO_TEAM: 'macos' # TURBO_TEAM: 'macos'
TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}' # TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}'
test-on-macos-pr-target: test-on-macos-pr-target:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
@ -185,10 +185,10 @@ jobs:
npm config set registry ${{ secrets.NPM_PROXY }} --global npm config set registry ${{ secrets.NPM_PROXY }} --global
yarn config set registry ${{ secrets.NPM_PROXY }} --global yarn config set registry ${{ secrets.NPM_PROXY }} --global
make test make test
env: # env:
TURBO_API: '${{ secrets.TURBO_API }}' # TURBO_API: '${{ secrets.TURBO_API }}'
TURBO_TEAM: 'windows' # TURBO_TEAM: 'windows'
TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}' # TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}'
test-on-windows-pr: test-on-windows-pr:
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
runs-on: windows-desktop-default-windows-security runs-on: windows-desktop-default-windows-security
@ -233,10 +233,10 @@ jobs:
npm config set registry ${{ secrets.NPM_PROXY }} --global npm config set registry ${{ secrets.NPM_PROXY }} --global
yarn config set registry ${{ secrets.NPM_PROXY }} --global yarn config set registry ${{ secrets.NPM_PROXY }} --global
make test make test
env: # env:
TURBO_API: '${{ secrets.TURBO_API }}' # TURBO_API: '${{ secrets.TURBO_API }}'
TURBO_TEAM: 'windows' # TURBO_TEAM: 'windows'
TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}' # TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}'
test-on-windows-pr-target: test-on-windows-pr-target:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
@ -314,10 +314,10 @@ jobs:
npm config set registry ${{ secrets.NPM_PROXY }} --global npm config set registry ${{ secrets.NPM_PROXY }} --global
yarn config set registry ${{ secrets.NPM_PROXY }} --global yarn config set registry ${{ secrets.NPM_PROXY }} --global
make test make test
env: # env:
TURBO_API: '${{ secrets.TURBO_API }}' # TURBO_API: '${{ secrets.TURBO_API }}'
TURBO_TEAM: 'linux' # TURBO_TEAM: 'linux'
TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}' # TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}'
coverage-check: coverage-check:
runs-on: [self-hosted, Linux, ubuntu-desktop] runs-on: [self-hosted, Linux, ubuntu-desktop]
@ -354,10 +354,10 @@ jobs:
make lint make lint
yarn build:test yarn build:test
yarn test:coverage yarn test:coverage
env: # env:
TURBO_API: '${{ secrets.TURBO_API }}' # TURBO_API: '${{ secrets.TURBO_API }}'
TURBO_TEAM: 'linux' # TURBO_TEAM: 'linux'
TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}' # TURBO_TOKEN: '${{ secrets.TURBO_TOKEN }}'
- name: Generate Code Coverage report - name: Generate Code Coverage report
id: code-coverage id: code-coverage