Skip to content

Commit 9164507

Browse files
committed
Add GitHub Actions CI checking
Signed-off-by: moznion <moznion@mail.moznion.net>
1 parent 656f735 commit 9164507

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/check.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
on:
3+
push:
4+
5+
jobs:
6+
check:
7+
name: CI checking
8+
strategy:
9+
matrix:
10+
node-version: [16, 18]
11+
os: [ubuntu-latest]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- name: Set up node
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
- name: Check out
19+
uses: actions/checkout@v3
20+
- name: npm ci
21+
run: npm ci
22+
- name: run eslint
23+
run: npm run lint
24+
- name: E2E test
25+
run: npm run test
26+

0 commit comments

Comments
 (0)