UNPKG

@catladder/pipeline

Version:

Panter workflow for cloud CI/CD and DevOps

53 lines (49 loc) 960 B
import type { Config, DeployConfig } from "../src"; const DEPLOY_CONFIG: DeployConfig = { type: "google-cloudrun", projectId: "google-project-id", region: "europe-west6", }; const config = { appName: "test-app", customerName: "pan", builds: { myWorkspace: { type: "node", cache: { paths: [".turbo"], }, }, }, components: { api: { dir: "api", build: { from: "myWorkspace", cache: { paths: [".component-custom-cache"], }, }, deploy: DEPLOY_CONFIG, }, www: { dir: "www", build: { from: "myWorkspace", cache: { paths: [".next/cache"], }, }, deploy: DEPLOY_CONFIG, vars: { public: { API_URL: "${api:ROOT_URL}/graphql", }, }, }, }, } satisfies Config; export default config; export const information = { title: "Workspace API and WWW", };