Skip to content

Commit d268a9c

Browse files
authored
Add workflow to run tsc when a change is made to a pr branch (#9)
1 parent 0947f53 commit d268a9c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test Compilation
2+
on:
3+
pull_request:
4+
branches:
5+
- '!main'
6+
push:
7+
branches:
8+
- '!main'
9+
10+
jobs:
11+
tsc:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repo
15+
uses: actions/checkout@v3
16+
17+
- name: Setup PNPM
18+
uses: pnpm/action-setup@v2
19+
with:
20+
version: latest
21+
22+
- name: Setup Node
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: 18
26+
cache: "pnpm"
27+
28+
- name: Install dependencies
29+
run: pnpm install
30+
31+
- name: Build Packages
32+
run: pnpm run build

0 commit comments

Comments
 (0)