Skip to content

Commit 85d418d

Browse files
committed
ci: add test workflow
1 parent c16450f commit 85d418d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
name: Test build
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
- run: npm i
14+
- run: npm run build
15+
16+
lint:
17+
name: Check linting
18+
runs-on: ubuntu-20.04
19+
steps:
20+
- uses: actions/checkout@v2
21+
- run: npm i
22+
- run: npm run lint

0 commit comments

Comments
 (0)