use pnpm instead of yarn

This commit is contained in:
thislight 2023-08-23 20:41:16 +08:00
parent 259001d9b1
commit 7b796c4147
No known key found for this signature in database
GPG key ID: 0CB25AF8415182D6
4 changed files with 1326 additions and 1246 deletions

View file

@ -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

View file

@ -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",
@ -28,4 +28,4 @@
"rate-limiter-flexible": "^2.3.6"
},
"devDependencies": {}
}
}

1322
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

1242
yarn.lock

File diff suppressed because it is too large Load diff