Skip to content

Commit 760a9dc

Browse files
committed
chore: add github action
1 parent 94a60b7 commit 760a9dc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)