Skip to content

bug/Fixed ci-cd-pipeline.yml so that it now is able to deploy #1

bug/Fixed ci-cd-pipeline.yml so that it now is able to deploy

bug/Fixed ci-cd-pipeline.yml so that it now is able to deploy #1

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run linter
run: npm run lint
- name: Check formatting
run: npm run format -- --check
- name: Run unit tests
run: npm run test:unit
- name: Build the project
run: npm run build