Merge pull request #21 from Pedro0505/frontend-tests #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rodando o eslint para encontrar erros no frontend | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
checking-eslint-web: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Verifica o repositório do Git | |
uses: actions/checkout@v3 | |
- name: Instalando node na versão 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Instalando as dependencias | |
run: cd frontend && npm install | |
- name: Rodando o eslint para buscar erros | |
run: cd frontend && npm run lint:check |