diff --git a/examples/with-graphql-mongoose/.drone.yml b/examples/with-graphql-mongoose/.drone.yml new file mode 100644 index 00000000..f289ac1c --- /dev/null +++ b/examples/with-graphql-mongoose/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +name: CI - Build + +environment: + TURBO_TOKEN: + from_secret: TURBO_TOKEN + TURBO_TEAM: + from_secret: TURBO_TEAM + +steps: + - name: CI - Build [node:22] + image: node:22-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main + - name: CI - Build [node:20] + image: node:20-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main +trigger: + event: + - pull_request diff --git a/examples/with-graphql-prisma/.drone.yml b/examples/with-graphql-prisma/.drone.yml new file mode 100644 index 00000000..f289ac1c --- /dev/null +++ b/examples/with-graphql-prisma/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +name: CI - Build + +environment: + TURBO_TOKEN: + from_secret: TURBO_TOKEN + TURBO_TEAM: + from_secret: TURBO_TEAM + +steps: + - name: CI - Build [node:22] + image: node:22-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main + - name: CI - Build [node:20] + image: node:20-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main +trigger: + event: + - pull_request diff --git a/examples/with-restful-mongoose/.drone.yml b/examples/with-restful-mongoose/.drone.yml new file mode 100644 index 00000000..f289ac1c --- /dev/null +++ b/examples/with-restful-mongoose/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +name: CI - Build + +environment: + TURBO_TOKEN: + from_secret: TURBO_TOKEN + TURBO_TEAM: + from_secret: TURBO_TEAM + +steps: + - name: CI - Build [node:22] + image: node:22-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main + - name: CI - Build [node:20] + image: node:20-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main +trigger: + event: + - pull_request diff --git a/examples/with-restful-prisma/.drone.yml b/examples/with-restful-prisma/.drone.yml new file mode 100644 index 00000000..f289ac1c --- /dev/null +++ b/examples/with-restful-prisma/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +name: CI - Build + +environment: + TURBO_TOKEN: + from_secret: TURBO_TOKEN + TURBO_TEAM: + from_secret: TURBO_TEAM + +steps: + - name: CI - Build [node:22] + image: node:22-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main + - name: CI - Build [node:20] + image: node:20-alpine + commands: + - npm ci --legacy-peer-deps + - npm run lint + - npm run build + - npm run test + when: + branch: + - development + - staging + - main +trigger: + event: + - pull_request