ci: isolate Yarn caches between jobs
This commit is contained in:
@@ -16,6 +16,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install node_modules and build package
|
||||
env:
|
||||
YARN_CACHE_FOLDER: /tmp/react-native-video-yarn-${{ gitea.run_id }}-typescript
|
||||
run: yarn install --immutable
|
||||
- name: Check TypeScript
|
||||
run: yarn tsc
|
||||
@@ -31,6 +33,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install node_modules and build package
|
||||
env:
|
||||
YARN_CACHE_FOLDER: /tmp/react-native-video-yarn-${{ gitea.run_id }}-lint
|
||||
run: yarn install --immutable
|
||||
- name: Run ESLint
|
||||
run: yarn lint
|
||||
|
||||
Reference in New Issue
Block a user