diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 000000000000..a8ba1549a62e --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,21 @@ +name: javascript +on: push +jobs: + build: + name: eslint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '10.16.3' + + - name: yarn install + run: yarn install --frozen-lockfile + + - name: eslint + uses: getsentry/action-eslint@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + job-name: eslint