fix(ci): Use docker image with pnpm preinstalled
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Ashhhleyyy 2022-07-05 15:05:21 +01:00
parent bda553eaa9
commit 75bd95067f
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -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