Skip to content

Commit c4a433f

Browse files
committed
add CI workflow
1 parent 5910178 commit c4a433f

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Use Node.js 18.x
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18.x
19+
- run: npm i
20+
- run: npm run build
21+
- run: npm test

0 commit comments

Comments
 (0)