mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix yarn cache in ci
This commit is contained in:
parent
ff154b03f3
commit
c5c527ec10
14
.github/workflows/coding-style.yml
vendored
14
.github/workflows/coding-style.yml
vendored
@ -25,16 +25,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Find yarn cache
|
- name: Setup Node
|
||||||
id: yarn-cache-path
|
uses: actions/setup-node@v2
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
||||||
|
|
||||||
- name: Restore cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.yarn-cache-path.outputs.dir }}
|
node-version: 18.x
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
cache: yarn
|
||||||
restore-keys: ${{ runner.os }}-yarn-
|
cache-dependency-path: front/yarn.lock
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
|
2
.github/workflows/native-build.yml
vendored
2
.github/workflows/native-build.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 18.x
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: front/yarn.lock
|
cache-dependency-path: front/yarn.lock
|
||||||
|
|
||||||
|
2
.github/workflows/native-update.yml
vendored
2
.github/workflows/native-update.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 18.x
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: front/yarn.lock
|
cache-dependency-path: front/yarn.lock
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user