Skip to content

Commit 269b423

Browse files
committed
Add GitHub CI
1 parent 3d55e9a commit 269b423

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI workflow
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Use Node.js ${{ matrix.node-version }}
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: ${{ matrix.node-version }}
16+
- name: Install Dependencies
17+
run: npm ci --ignore-scripts
18+
- name: Run Linting
19+
run: npm run lint
20+
- name: Run Tests
21+
run: npm run test

0 commit comments

Comments
 (0)