Skip to content

Commit c9edc1f

Browse files
committed
改用 npm 以解决 yarn 安装时的警告
warning Pattern ["caniuse-lite@^1.0.30001685"] is trying to unpack in the same destination "??\\Yarn\\Cache\\v6\\npm-caniuse-lite-1.0.30001685-2d10d36c540a9a5d47ad6ab9e1ed5f61fdeadd8c-integrity\\node_modules\\caniuse-lite" as pattern ["caniuse-lite@^1.0.30001669"]. This could result in non-deterministic behavior, skipping.
1 parent 81c032f commit c9edc1f

File tree

4 files changed

+18745
-10427
lines changed

4 files changed

+18745
-10427
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
- uses: actions/setup-node@v3
1818
with:
1919
node-version: 18
20-
cache: yarn
20+
cache: npm
2121

2222
- name: Install dependencies
23-
run: yarn install --frozen-lockfile
23+
run: npm install --frozen-lockfile
2424
- name: Build website
25-
run: yarn build
25+
run: npm build
2626

2727
# Popular action to deploy to GitHub Pages:
2828
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus

.github/workflows/test-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
- uses: actions/setup-node@v3
1818
with:
1919
node-version: 18
20-
cache: yarn
20+
cache: npm
2121

2222
- name: Install dependencies
23-
run: yarn install --frozen-lockfile
23+
run: npm install --frozen-lockfile
2424
- name: Test build website
25-
run: yarn build
25+
run: npm build

0 commit comments

Comments
 (0)