From e1f46b77ed991095a508a417140a2bf3504c12d3 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 26 Jun 2020 18:24:56 -0500 Subject: [PATCH] Add eslint to Github actions --- .github/workflows/full_build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/full_build.yml b/.github/workflows/full_build.yml index d270b6c0..056a314d 100644 --- a/.github/workflows/full_build.yml +++ b/.github/workflows/full_build.yml @@ -135,6 +135,27 @@ jobs: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}- - name: run jest run: yarn jest + eslint: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + node: [12] + needs: ['install_yarn'] + steps: + - uses: actions/checkout@v2 + - name: Setup Node.js environment + uses: actions/setup-node@v1.4.2 + - uses: actions/cache@v1 + name: Use Node package cache + with: + path: node_modules + key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}- + - name: run yarn eslint + run: | + yarn eslint main_build: needs: ['install_yarn', 'install_gems'] runs-on: ${{ matrix.os }}