Skip to content

Commit e11aba9

Browse files
committed
add GH action
1 parent b2600bd commit e11aba9

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/static-checks.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Static Checks
2+
on:
3+
workflow_call:
4+
jobs:
5+
setup:
6+
name: Setup Node.js
7+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v2
8+
with:
9+
node-version: '22'
10+
11+
lint:
12+
name: ESLint Check
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
18+
- name: Run linter
19+
run: npm run lint
20+
21+
tsc:
22+
name: TS Types Check
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout Repository
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
27+
28+
- name: Run Tsc
29+
run: npm run type-check
30+
31+
build:
32+
name: Build App Check
33+
runs-on: ubuntu-latest
34+
env:
35+
NODE_OPTIONS: "--max_old_space_size=4096"
36+
steps:
37+
- name: Checkout Repository
38+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
39+
40+
- name: Build App
41+
run: npm run build

0 commit comments

Comments
 (0)