diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..6ff29e5 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +on: push +name: lint + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout project + uses: actions/checkout@v2 + with: + clean: false + + - name: Use Node.js 14 + uses: actions/setup-node@v1 + with: + node-version: 14.x + + - name: Install deps + run: yarn + + - name: Run ESLint + run: yarn lint + env: + CI: true