Skip to content

Commit 0d25ad1

Browse files
committed
Just commit the generated files and do the building at dev time
1 parent b6680ac commit 0d25ad1

File tree

16 files changed

+6881
-44
lines changed

16 files changed

+6881
-44
lines changed

.github/workflows/e2e.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ jobs:
7676
node-version: 20.11.1
7777
cache: "pnpm"
7878

79-
- name: Install Protoc
80-
uses: arduino/setup-protoc@v3
81-
with:
82-
repo-token: ${{ secrets.GITHUB_TOKEN }}
83-
8479
- name: 📥 Download deps
8580
run: pnpm install --frozen-lockfile
8681

.github/workflows/pr_checks.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,9 @@ jobs:
4444
node-version: 20.11.1
4545
cache: "pnpm"
4646

47-
- name: Install Protoc
48-
uses: arduino/setup-protoc@v3
49-
with:
50-
repo-token: ${{ secrets.GITHUB_TOKEN }}
51-
5247
- name: 📥 Download deps
5348
run: pnpm install --frozen-lockfile
5449

55-
- name: 📀 Generate Code
56-
run: pnpm run generate
57-
5850
- name: 🏗️ Build
5951
run: pnpm run build --filter "@trigger.dev/*" --filter "trigger.dev"
6052

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ jobs:
3838
node-version: 20.11.1
3939
cache: "pnpm"
4040

41-
- name: Install Protoc
42-
uses: arduino/setup-protoc@v3
43-
with:
44-
repo-token: ${{ secrets.GITHUB_TOKEN }}
45-
4641
- name: 📥 Download deps
4742
run: pnpm install --frozen-lockfile
4843

.github/workflows/typecheck.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ jobs:
2222
node-version: 20.11.1
2323
cache: "pnpm"
2424

25-
- name: Install Protoc
26-
uses: arduino/setup-protoc@v3
27-
with:
28-
repo-token: ${{ secrets.GITHUB_TOKEN }}
29-
3025
- name: 📥 Download deps
3126
run: pnpm install --frozen-lockfile
3227

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,6 @@ jobs:
2222
node-version: 20.11.1
2323
cache: "pnpm"
2424

25-
- name: Install Protoc
26-
uses: arduino/setup-protoc@v3
27-
with:
28-
repo-token: ${{ secrets.GITHUB_TOKEN }}
29-
30-
- name: ⎔ Setup Deno
31-
uses: denoland/setup-deno@v1
32-
with:
33-
deno-version: v1.x
34-
35-
- name: ⎔ Setup bun
36-
uses: oven-sh/setup-bun@v1
37-
with:
38-
bun-version: "1.0.15"
39-
4025
- name: 📥 Download deps
4126
run: pnpm install --frozen-lockfile
4227

packages/otlp-importer/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
src/generated/*
2-
!src/generated/.gitkeep
31
protoc.exe

packages/otlp-importer/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
},
2121
"sideEffects": false,
2222
"scripts": {
23-
"prepublishOnly": "npm run build",
24-
"clean": "rimraf dist",
25-
"build": "npm run clean && npm run protos",
26-
"generate": "npm run protos",
23+
"generate:code": "npm run protos",
2724
"protos": "npm run submodule && npm run protos:generate",
2825
"protos:generate": "node ./scripts/generate-protos.mjs",
2926
"submodule": "node ./scripts/submodule.mjs",

packages/otlp-importer/src/generated/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)