Removed redundant build step & run lint before build

This commit is contained in:
2023-04-07 00:10:15 +02:00
parent d7567b4242
commit 4cc0403c0f

View File

@@ -8,34 +8,28 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: Build project
image: node:18
commands:
- yarn
- yarn build
- name: Lint project - name: Lint project
image: node:18 image: node:18
commands: commands:
- yarn - yarn
- yarn lint - yarn lint
- name: Build project
image: node:18
commands:
- yarn
- yarn build
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: Compile docker image name: Compile & publish docker image
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
steps: steps:
- name: Build
image: node:18
commands:
- yarn
- yarn build
- name: Publish docker image - name: Publish docker image
image: plugins/docker image: plugins/docker
settings: settings:
@@ -63,6 +57,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: eac31ba5baf0202b5920c39674cbb95767fe91e8ee36c773e2db78eee31e8879 hmac: 2578e80da0b7719a6d85be93b4a86803159ba7f320707607df9b579979c66e39
... ...