Files
docker_lab/.github/workflows/ci.yml
vlitvintseva d7982e88ae
Some checks failed
Node.js CI / lint (push) Failing after 2s
Node.js CI / test (push) Has been skipped
Node.js CI / build (push) Has been skipped
fix: disable ssl
2026-05-18 11:28:12 +03:00

53 lines
1.1 KiB
YAML

name: Node.js CI
on:
push:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone repository
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
test:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Clone repository
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run Tests
run: npm run test
build:
runs-on: ubuntu-latest
needs: test
steps:
- name: Clone repository
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
- name: Build Docker Image
run: docker build -t docker_lab:latest .