Skip to content

Enhance CI workflow with branch updates and caching improvements #1

Enhance CI workflow with branch updates and caching improvements

Enhance CI workflow with branch updates and caching improvements #1

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "developer" ]
pull_request:
branches: [ "main", "developer" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout do código
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Instalar dependências
run: npm ci
- name: Rodar lint
run: npm run lint
- name: Build do projeto
run: npm run build