From 2c782e9f12824060fc64917e54d9ac2b0febdbd1 Mon Sep 17 00:00:00 2001 From: Bruno Date: Wed, 29 Nov 2023 18:07:46 -0300 Subject: [PATCH] =?UTF-8?q?:cool:(#81):=20Adi=C3=A7=C3=A3o=20do=20ESLint?= =?UTF-8?q?=20ao=20pipeline=20do=20front?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ana Borges --- .github/workflows/jsLint.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/jsLint.yml diff --git a/.github/workflows/jsLint.yml b/.github/workflows/jsLint.yml new file mode 100644 index 00000000..2f07f30d --- /dev/null +++ b/.github/workflows/jsLint.yml @@ -0,0 +1,31 @@ +name: Python CI + +on: + pull_request: + push: + branches: + - front-end + + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Instalando o node + uses: actions/setup-node@v4 + with: + node-version: '16.14.0' + + - name: Install dependencies + run: | + npm install + + - name: Run ESLint + run: + cd implementacao-front && + npx eslint . --ext .ts && + npm run lint