chore: migrate CI to github, refactore CI and npm scripts, linting fixes (#1023)

This commit is contained in:
Anix
2020-02-14 15:22:53 +05:30
committed by GitHub
parent b3d9b966df
commit 5f7464af48
10 changed files with 71 additions and 28 deletions
@@ -27,7 +27,5 @@ jobs:
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
+31
View File
@@ -0,0 +1,31 @@
name: Linting Checks
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
node-version: [10.x, 12.x, 13.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
+31
View File
@@ -0,0 +1,31 @@
name: Unit tests Suite
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
node-version: [10.x, 12.x, 13.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: Unit tests
run: npm run test