Skip to content

Commit ffd9279

Browse files
committed
add ci workflow
1 parent 85937ad commit ffd9279

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
- uses: voidzero-dev/setup-vp@v1
18+
with:
19+
node-version: '24'
20+
cache: true
21+
22+
- name: Install
23+
run: vp install
24+
25+
- name: Lint
26+
run: vp lint
27+
28+
test:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: voidzero-dev/setup-vp@v1
33+
with:
34+
node-version: '24'
35+
cache: true
36+
37+
- name: Install
38+
run: vp install
39+
40+
- name: Build
41+
run: vp pack
42+
43+
- name: Test
44+
run: vp test

0 commit comments

Comments
 (0)