Skip to content

Commit 9d319c3

Browse files
committed
Add workflow for building
1 parent be9f97d commit 9d319c3

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: TypeScript Tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- '.github/workflow/test-typescript.yml'
8+
- 'impl/**'
9+
pull_request:
10+
branches: [ main ]
11+
paths:
12+
- '.github/workflow/test-typescript.yml'
13+
- 'impl/**'
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
defaults:
19+
run:
20+
working-directory: 'ts'
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: actions/setup-node@v4
25+
- run: npm ci
26+
- run: npm run build --if-present
27+
- run: npm test
28+
- run: npm run pretty:check
29+
- run: npm run lint

0 commit comments

Comments
 (0)