Skip to content

Commit b12e829

Browse files
committed
add ci
1 parent 97b9083 commit b12e829

File tree

4 files changed

+522
-1
lines changed

4 files changed

+522
-1
lines changed

.github/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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@v2
18+
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: '23'
23+
24+
- name: Install dependencies
25+
run: npm install
26+
27+
- name: Run tests
28+
run: npm test
29+
30+
- name: Build project
31+
run: npm run build

0 commit comments

Comments
 (0)