fix(ci): Use docker image with pnpm preinstalled
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
bda553eaa9
commit
75bd95067f
1 changed files with 3 additions and 4 deletions
|
@ -8,16 +8,15 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
image: node:14-alpine
|
image: gplane/pnpm:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- yarn global add pnpm
|
|
||||||
- pnpm install --frozen-lockfile
|
- pnpm install --frozen-lockfile
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
image: node:14-alpine
|
image: gplane/pnpm:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- pnpm format:check
|
- pnpm format:check
|
||||||
- name: Build site
|
- name: Build site
|
||||||
image: node:14-alpine
|
image: gplane/pnpm:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- pnpm build
|
- pnpm build
|
||||||
- name: Deploy site
|
- name: Deploy site
|
||||||
|
|
Loading…
Reference in a new issue