Skip to content

Commit b3eced3

Browse files
authored
Merge pull request #1000 from docsifyjs/github-action-ci
chore: added github Actions for CI
2 parents db97a1d + 336908f commit b3eced3

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: Testing the e2e test suites
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
pull_request:
9+
branches:
10+
- master
11+
- develop
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
node-version: [8.x, 10.x, 12.x]
19+
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- name: bootstrap
27+
run: npm run bootstrap
28+
- name: Build
29+
run: npm run build
30+
- name: linting
31+
run: npm run lint
32+
- name: end to end
33+
run: npm run test:e2e

0 commit comments

Comments
 (0)