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:
|
||||
- name: Install dependencies
|
||||
image: node:14-alpine
|
||||
image: gplane/pnpm:14-alpine
|
||||
commands:
|
||||
- yarn global add pnpm
|
||||
- pnpm install --frozen-lockfile
|
||||
- name: Check formatting
|
||||
image: node:14-alpine
|
||||
image: gplane/pnpm:14-alpine
|
||||
commands:
|
||||
- pnpm format:check
|
||||
- name: Build site
|
||||
image: node:14-alpine
|
||||
image: gplane/pnpm:14-alpine
|
||||
commands:
|
||||
- pnpm build
|
||||
- name: Deploy site
|
||||
|
|
Loading…
Reference in a new issue