Skip to content

CI/CD Pipeline

CI/CD Pipeline #2

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.11.1'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npm run lint
- name: Run prettier
run: npm run prettier
- name: Build
run: npm run build