Skip to content

Merge pull request #22 from alejandrocuba/cli-branding #21

Merge pull request #22 from alejandrocuba/cli-branding

Merge pull request #22 from alejandrocuba/cli-branding #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
# Cancel outdated workflow runs for the same branch or pull request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Enforce secure least-privilege permissions
permissions:
contents: read
jobs:
validate:
name: ${{ matrix.task.name }}
runs-on: ubuntu-latest
strategy:
matrix:
task:
- name: 'Code Style Verification (Prettier)'
command: 'format:check'
- name: 'Static Code Analysis (ESLint)'
command: 'lint'
- name: 'Automated Unit & E2E Testing (Vitest)'
command: 'test'
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 11.0.9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 26.1.0
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Execute Validation
run: pnpm run ${{ matrix.task.command }}