Skip to content

Commit 381c45d

Browse files
committed
chore: create push workflow to ignore pushes to main branch and build TypeScript with Bun
1 parent 929a711 commit 381c45d

2 files changed

Lines changed: 28 additions & 5 deletions

File tree

.github/workflows/pull.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ on:
77
- synchronize
88
paths-ignore:
99
- "*.md"
10-
push:
11-
branches-ignore:
12-
- main
13-
paths-ignore:
14-
- "*.md"
1510

1611

1712
jobs:

.github/workflows/push.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Push Workflow
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- main
7+
paths-ignore:
8+
- "*.md"
9+
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
17+
18+
- name: Install Bun
19+
uses: oven-sh/setup-bun@v2
20+
with:
21+
bun-version: "latest"
22+
23+
- name: Install dependencies
24+
run: bun install
25+
26+
- name: Build typescript files
27+
run: bun tsbuild
28+

0 commit comments

Comments
 (0)