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
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"version": "6.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.24.0",
|
||||
"axios": "^1.3.4",
|
||||
"hexo": "^6.0.0",
|
||||
"hexo-feed": "^1.1.0",
|
||||
"hexo-generator-archive": "^1.0.0",
|
||||
|
|
1322
pnpm-lock.yaml
Normal file
1322
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue