Skip to content

Commit feddf94

Browse files
committed
perf test publish workflow
1 parent c4e1364 commit feddf94

File tree

3 files changed

+21
-50
lines changed

3 files changed

+21
-50
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,7 @@
11
name: 🚀 Publish Trigger.dev Docker
22

33
on:
4-
workflow_call:
5-
inputs:
6-
image_tag:
7-
description: The image tag to publish
8-
required: true
9-
type: string
104
push:
11-
branches:
12-
- main
13-
tags:
14-
- "v.docker.*"
15-
- "build-*"
16-
paths:
17-
- ".github/actions/**/*.yml"
18-
- ".github/workflows/publish.yml"
19-
- ".github/workflows/typecheck.yml"
20-
- ".github/workflows/unit-tests.yml"
21-
- ".github/workflows/e2e.yml"
22-
- ".github/workflows/publish-webapp.yml"
23-
- ".github/workflows/publish-worker.yml"
24-
- "packages/**"
25-
- "!packages/**/*.md"
26-
- "!packages/**/*.eslintrc"
27-
- "internal-packages/**"
28-
- "apps/**"
29-
- "!apps/**/*.md"
30-
- "!apps/**/*.eslintrc"
31-
- "pnpm-lock.yaml"
32-
- "pnpm-workspace.yaml"
33-
- "turbo.json"
34-
- "docker/Dockerfile"
35-
- "docker/scripts/**"
36-
- "tests/**"
375

386
permissions:
397
id-token: write
@@ -54,17 +22,3 @@ jobs:
5422
units:
5523
uses: ./.github/workflows/unit-tests.yml
5624
secrets: inherit
57-
58-
publish-webapp:
59-
needs: [typecheck, units]
60-
uses: ./.github/workflows/publish-webapp.yml
61-
secrets: inherit
62-
with:
63-
image_tag: ${{ inputs.image_tag }}
64-
65-
publish-worker:
66-
needs: [typecheck, units]
67-
uses: ./.github/workflows/publish-worker.yml
68-
secrets: inherit
69-
with:
70-
image_tag: ${{ inputs.image_tag }}

.github/workflows/typecheck.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ on:
55

66
jobs:
77
typecheck:
8-
runs-on: ubuntu-latest
9-
8+
strategy:
9+
fail-fast: true
10+
matrix:
11+
runs-on:
12+
- buildjet-2vcpu-ubuntu-2204
13+
- buildjet-4vcpu-ubuntu-2204
14+
- buildjet-8vcpu-ubuntu-2204
15+
- buildjet-16vcpu-ubuntu-2204
16+
- buildjet-32vcpu-ubuntu-2204
17+
runs-on: ${{matrix.runs-on}}
1018
steps:
1119
- name: ⬇️ Checkout repo
1220
uses: actions/checkout@v4

.github/workflows/unit-tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@ on:
55

66
jobs:
77
unitTests:
8-
name: "🧪 Unit Tests"
9-
runs-on: ubuntu-latest
8+
name: "🧪 Unit Tests - ${{ matrix.runs-on }}"
9+
strategy:
10+
fail-fast: true
11+
matrix:
12+
runs-on:
13+
- buildjet-2vcpu-ubuntu-2204
14+
- buildjet-4vcpu-ubuntu-2204
15+
- buildjet-8vcpu-ubuntu-2204
16+
- buildjet-16vcpu-ubuntu-2204
17+
- buildjet-32vcpu-ubuntu-2204
18+
runs-on: ${{matrix.runs-on}}
1019
steps:
1120
- name: ⬇️ Checkout repo
1221
uses: actions/checkout@v4

0 commit comments

Comments
 (0)