ci: isolate Yarn caches between jobs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user