Skip to content

Commit c5c092b

Browse files
committed
chore: add CI workflow
1 parent 902f2a0 commit c5c092b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
CI:
14+
name: CI
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 16
24+
cache: 'npm'
25+
26+
- name: Installation
27+
run: npm ci
28+
29+
- name: Lint errors
30+
run: npm run lint
31+
32+
- name: Build
33+
run: npm run build

0 commit comments

Comments
 (0)