Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Lint and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18' # Ou outra versão compatível
- run: npm install
- name: Run ESLint
run: npm run lint