Skip to content

🚀 lcode v2.0.0 - Complete Overhaul to 10/10 Production-Ready CLI #7

🚀 lcode v2.0.0 - Complete Overhaul to 10/10 Production-Ready CLI

🚀 lcode v2.0.0 - Complete Overhaul to 10/10 Production-Ready CLI #7

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20, 22, 24]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test
- name: Test CLI functionality
run: |
node index.mjs --help
node index.mjs --init
node index.mjs --cleanup