mirror of
https://github.com/tiennm99/loldle.git
synced 2026-10-11 03:13:42 +00:00
fix(ci): migrate workflow from npm to pnpm
This commit is contained in:
1 parent
bb8ae531b6
commit
750d825e01
1 file changed
+5
-3
Vendored
+5
-3
@@ -20,14 +20,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v4
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: npm
|
cache: 'pnpm'
|
||||||
|
|
||||||
- run: npm ci
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- run: npm run build
|
- run: pnpm build
|
||||||
env:
|
env:
|
||||||
NEXT_PUBLIC_BASE_PATH: /${{ github.event.repository.name }}
|
NEXT_PUBLIC_BASE_PATH: /${{ github.event.repository.name }}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user