Skip to content

Commit a8c176e

Browse files
committed
Add minimal CI
1 parent 72b808d commit a8c176e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '22' # Specify your desired Node.js version
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Install tool dependencies
28+
working-directory: ./tools/TypeScript-DOM-lib-generator
29+
run: npm ci
30+
31+
- name: Generate ReScript code
32+
working-directory: ./tools/TypeScript-DOM-lib-generator
33+
run: npm run build

0 commit comments

Comments
 (0)