fix: disable ssl
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

This commit is contained in:
2026-05-18 11:28:12 +03:00
parent 03bc047b2c
commit d7982e88ae

View File

@@ -8,36 +8,45 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Отключаем проверку SSL при скачивании кода
set-safe-directory: true
env:
GIT_SSL_NO_VERIFY: "true"
- uses: actions/setup-node@v4
- 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
- run: npm ci
- run: npm run lint
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
env:
GIT_SSL_NO_VERIFY: "true"
- uses: actions/setup-node@v4
- 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
- run: npm ci
- run: npm run test
- name: Install dependencies
run: npm ci
- name: Run Tests
run: npm run test
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
env:
GIT_SSL_NO_VERIFY: "true"
- run: docker build -t docker_lab:latest .
- 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 .