- gitea-ci 파일 node_modules 캐싱 수정
This commit is contained in:
@@ -37,17 +37,17 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "yarn version: $(yarn -v)"
|
echo "yarn version: $(yarn -v)"
|
||||||
|
|
||||||
- name: Restore node_modules
|
- name: Restore Yarn cache
|
||||||
id: cache-node
|
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: |
|
||||||
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
|
.yarn/cache
|
||||||
restore-keys: |
|
.yarn/unplugged
|
||||||
${{ runner.os }}-yarn-v1-
|
.yarn/install-state.gz
|
||||||
|
.pnp.cjs
|
||||||
|
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock','package.json') }}
|
||||||
|
|
||||||
- name: Install Dependencies with yarn
|
- name: Install Dependencies with yarn
|
||||||
if: steps.cache-node.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
run: |
|
||||||
yarn install --immutable
|
yarn install --immutable
|
||||||
ls .
|
ls .
|
||||||
|
|||||||
Reference in New Issue
Block a user