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: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4
with: - name: Clone repository
# Отключаем проверку SSL при скачивании кода run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
set-safe-directory: true
env: - name: Set up Node.js
GIT_SSL_NO_VERIFY: "true" uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- run: npm ci
- run: npm run lint - name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: lint needs: lint
steps: steps:
- uses: actions/checkout@v4 - name: Clone repository
env: run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
GIT_SSL_NO_VERIFY: "true"
- uses: actions/setup-node@v4 - name: Set up Node.js
uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- run: npm ci
- run: npm run test - name: Install dependencies
run: npm ci
- name: Run Tests
run: npm run test
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test
steps: steps:
- uses: actions/checkout@v4 - name: Clone repository
env: run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
GIT_SSL_NO_VERIFY: "true"
- run: docker build -t docker_lab:latest . - name: Build Docker Image
run: docker build -t docker_lab:latest .