- update eslint - add jest
@@ -1,18 +0,0 @@
-on:
- push:
- pull_request:
-
-jobs:
- eslint:
- name: eslint
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v1
- - name: install node v14
- uses: actions/setup-node@v1
- with:
- node-version: 14
- - name: yarn install
- run: yarn install
- - name: eslint
- uses: icrawl/action-eslint@v1
@@ -0,0 +1,17 @@
+on:
+ push:
+ pull_request:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v2
+ with:
+ node-version: 14
+ - run: yarn install
+ - name: ESLint
+ uses: sibiraj-s/action-eslint@v2.0.0
+ - name: Jest Annotations & Coverage
+ uses: mattallty/jest-github-action@v1.0.3