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
|
id: cache
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
- run: 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -'
|
- run: 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -'
|
||||||
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: yarn
|
run: pnpm install
|
||||||
|
|
||||||
# Deploy hexo blog website.
|
# Deploy hexo blog website.
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"version": "6.3.0"
|
"version": "6.3.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.24.0",
|
"axios": "^1.3.4",
|
||||||
"hexo": "^6.0.0",
|
"hexo": "^6.0.0",
|
||||||
"hexo-feed": "^1.1.0",
|
"hexo-feed": "^1.1.0",
|
||||||
"hexo-generator-archive": "^1.0.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