Skip to content

🐛 Refactor CI/CD workflow and update dependencies #58

🐛 Refactor CI/CD workflow and update dependencies

🐛 Refactor CI/CD workflow and update dependencies #58

Workflow file for this run

name: Node.js CI 🚀
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build: # 🏗️ Build Job
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: 📥 Checkout code
uses: actions/checkout@v4
- name: 📌 Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: 📦 Install dependencies
run: npm ci
- name: 🏗️ Build the project
run: npm run build --if-present
- name: 🧪 Run tests with coverage
run: npm run test:coverage
env:
CI: true