refactor(ci): Split workflow into smaller steps
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
83d2d54d3d
commit
bda553eaa9
1 changed files with 8 additions and 2 deletions
10
.drone.yml
10
.drone.yml
|
@ -7,13 +7,19 @@ platform:
|
|||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: Build and check formatting
|
||||
- name: Install dependencies
|
||||
image: node:14-alpine
|
||||
commands:
|
||||
- yarn global add pnpm
|
||||
- pnpm install --frozen-lockfile
|
||||
- pnpm build
|
||||
- name: Check formatting
|
||||
image: node:14-alpine
|
||||
commands:
|
||||
- pnpm format:check
|
||||
- name: Build site
|
||||
image: node:14-alpine
|
||||
commands:
|
||||
- pnpm build
|
||||
- name: Deploy site
|
||||
image: alpine
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue