Skip to content

Refactor code structure for improved readability and maintainability #83

Refactor code structure for improved readability and maintainability

Refactor code structure for improved readability and maintainability #83

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
- work
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: |
if [ -f package-lock.json ]; then
npm ci
else
npm install
fi
- name: Lint
run: npm run lint
- name: Build
run: npm run build