Update CI/CD, added dev dependencies
Some checks failed
CI / build (push) Failing after 16s

This commit is contained in:
Andrey Kernichniy 2026-03-07 01:01:19 +07:00
parent f106226e70
commit f72251d0ec
6 changed files with 1507 additions and 3 deletions

View file

@ -0,0 +1,35 @@
name: CI
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: [docker]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Prettier
run: npm run prettier:check
- name: ES Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build