ci: isolate Yarn caches between jobs
All checks were successful
Check JS / Check TS (tsc) (pull_request) Successful in 56s
Check JS / Lint JS (eslint, prettier) (pull_request) Successful in 58s

This commit is contained in:
2026-08-12 17:04:15 -07:00
parent c157c42264
commit 44f6c09509

View File

@@ -16,6 +16,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install node_modules and build package - name: Install node_modules and build package
env:
YARN_CACHE_FOLDER: /tmp/react-native-video-yarn-${{ gitea.run_id }}-typescript
run: yarn install --immutable run: yarn install --immutable
- name: Check TypeScript - name: Check TypeScript
run: yarn tsc run: yarn tsc
@@ -31,6 +33,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install node_modules and build package - name: Install node_modules and build package
env:
YARN_CACHE_FOLDER: /tmp/react-native-video-yarn-${{ gitea.run_id }}-lint
run: yarn install --immutable run: yarn install --immutable
- name: Run ESLint - name: Run ESLint
run: yarn lint run: yarn lint