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