mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
fix pnpm install
This commit is contained in:
@ -5,11 +5,7 @@ image: 'node:latest'
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt update -y
|
- apt update -y
|
||||||
- if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
- corepack enable pnpm
|
||||||
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
|
|
||||||
- mkdir public
|
- mkdir public
|
||||||
|
|
||||||
build:pretty-check:
|
build:pretty-check:
|
||||||
|
Reference in New Issue
Block a user