Skip to content

fix: update Node.js version to 20 and sync package-lock.json for CI #2

fix: update Node.js version to 20 and sync package-lock.json for CI

fix: update Node.js version to 20 and sync package-lock.json for CI #2

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test
- name: Build
run: npm run build
- name: Check build output
run: |
echo "Build completed successfully!"
echo "Build directory contents:"
ls -la dist/