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
|
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:
|
||||||
|
|
Loading…
Reference in a new issue