refactor(ci): Split workflow into smaller steps
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ashhhleyyy 2022-07-05 14:55:45 +01:00
parent 83d2d54d3d
commit bda553eaa9
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -7,13 +7,19 @@ platform:
arch: arm64 arch: arm64
steps: steps:
- name: Build and check formatting - name: Install dependencies
image: node:14-alpine image: node:14-alpine
commands: commands:
- yarn global add pnpm - yarn global add pnpm
- pnpm install --frozen-lockfile - pnpm install --frozen-lockfile
- pnpm build - name: Check formatting
image: node:14-alpine
commands:
- pnpm format:check - pnpm format:check
- name: Build site
image: node:14-alpine
commands:
- pnpm build
- name: Deploy site - name: Deploy site
image: alpine image: alpine
commands: commands: