fix: disable ssl
This commit is contained in:
47
.github/workflows/ci.yml
vendored
47
.github/workflows/ci.yml
vendored
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user