Merge pull request #1000 from docsifyjs/github-action-ci

chore: added github Actions for CI
This commit is contained in:
Anix 2020-01-09 01:00:56 +05:30 committed by GitHub
commit b3eced395a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

33
.github/workflows/CI.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Testing the e2e test suites
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: bootstrap
run: npm run bootstrap
- name: Build
run: npm run build
- name: linting
run: npm run lint
- name: end to end
run: npm run test:e2e