mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
fix pnpm install
This commit is contained in:
@ -5,11 +5,7 @@ image: 'node:latest'
|
||||
|
||||
before_script:
|
||||
- apt update -y
|
||||
- if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
||||
elif [ -f package-lock.json ]; then npm ci; \
|
||||
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \
|
||||
else echo "Lockfile not found." && exit 1; \
|
||||
fi
|
||||
- corepack enable pnpm
|
||||
- mkdir public
|
||||
|
||||
build:pretty-check:
|
||||
|
Reference in New Issue
Block a user