use pnpm instead of yarn
This commit is contained in:
parent
259001d9b1
commit
7b796c4147
4 changed files with 1326 additions and 1246 deletions
4
.github/workflows/depoly.yml
vendored
4
.github/workflows/depoly.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
id: cache
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- run: 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -'
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
|
||||
- name: Install Dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: yarn
|
||||
run: pnpm install
|
||||
|
||||
# Deploy hexo blog website.
|
||||
- name: Deploy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue