Skip to content

Commit 07e7d0c

Browse files
committed
ci: check on push
1 parent f668e98 commit 07e7d0c

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
check:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
16+
with:
17+
submodules: recursive
18+
19+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
20+
with:
21+
node-version: 24.x
22+
cache: 'npm'
23+
24+
- name: Install npm dependencies
25+
run: npm ci
26+
27+
- name: check
28+
run: npm run check
29+
30+
build:
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
36+
with:
37+
submodules: recursive
38+
39+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
40+
with:
41+
node-version: 24.x
42+
cache: 'npm'
43+
44+
- name: Install npm dependencies
45+
run: npm ci
46+
47+
- name: build
48+
run: npm run build

0 commit comments

Comments
 (0)