Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit 8e353ff

Browse files
committed
ci(github-actions): add ci job
1 parent 85f3a0f commit 8e353ff

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node: ['14.x', '13.x', '12.x', '10.x']
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
- name: Use Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node }}
18+
- name: Install dependencies
19+
run: npm install
20+
- name: ESLint
21+
run: npm run eslint:check
22+
- name: Prettier
23+
run: npm run prettier:check
24+
- name: Build
25+
run: npm run build

0 commit comments

Comments
 (0)