From 8f67db01546f7c66c7bbdb45057d3aded88c578a Mon Sep 17 00:00:00 2001 From: reidlab <45904911+reidlabwastaken@users.noreply.github.com> Date: Thu, 20 Jul 2023 15:29:34 -0700 Subject: [PATCH] Create lint.yml --- .github/workflows/lint.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..000284a --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,27 @@ +name: Lint +on: + pull_request: + push: + +jobs: + build: + name: ESLint + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Set Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: 16.x + + - name: Run install + uses: borales/actions-yarn@v4 + with: + cmd: install # will run `yarn install` command + + - name: Lint + uses: borales/actions-yarn@v4 + with: + cmd: lint # will run `yarn lint` command