What about...

This commit is contained in:
2023-05-03 15:11:41 -04:00
parent 943ffe96d1
commit 9073408f6d

View File

@@ -8,6 +8,9 @@ workspace:
steps:
- name: yarn install
image: node:latest
volumes:
- name: module_cache
path: ./node_modules
commands:
- yarn install
@@ -46,6 +49,10 @@ trigger:
event:
- push
volumes:
- name: module_cache
temp: {}
---
kind: pipeline
type: docker
@@ -57,6 +64,9 @@ workspace:
steps:
- name: yarn install
image: node:latest
volumes:
- name: module_cache
path: ./node_modules
commands:
- yarn install
@@ -90,6 +100,10 @@ trigger:
event:
- push
volumes:
- name: module_cache
temp: {}
---
kind: pipeline
type: docker
@@ -103,7 +117,7 @@ platform:
arch: arm64
steps:
- name: yarn-install
- name: Build
image: node
commands:
- cd /app
@@ -125,9 +139,7 @@ steps:
volumes:
- name: app-build-dir
path: /app-build
volumes:
- name: app-build-dir
temp: {}
depends_on: Build
trigger:
branch:
@@ -137,3 +149,7 @@ trigger:
depends_on:
- Build Pipeline
volumes:
- name: app-build-dir
temp: {}