Skip to content

Commit f06670a

Browse files
author
fishcat
committed
fix: use yarn instead of npm
1 parent 0068dce commit f06670a

3 files changed

Lines changed: 3 additions & 20885 deletions

File tree

.github/workflows/cf-pages-deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,13 @@ jobs:
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: '20'
19-
cache: 'npm'
20-
21-
- name: Remove yarn.lock if exists
22-
run: rm -f yarn.lock
19+
cache: 'yarn'
2320

2421
- name: Install dependencies
25-
run: npm ci --legacy-peer-deps
22+
run: yarn install --frozen-lockfile
2623

2724
- name: Build
28-
run: EXPORT=true UNOPTIMIZED=true npm run build
25+
run: EXPORT=true UNOPTIMIZED=true yarn build
2926
env:
3027
NODE_OPTIONS: '--max-old-space-size=4096'
3128

ENDFILE

Whitespace-only changes.

0 commit comments

Comments
 (0)