diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 6ddb14b18f8c8eccb57e7eb12cbcb8321b0a2882..0000000000000000000000000000000000000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml new file mode 100644 index 0000000000000000000000000000000000000000..21dd1b3981188cd7a7fb6bc6dfb4b5b93c69a491 --- /dev/null +++ b/.github/workflows/node.yml @@ -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