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:
|
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 .
|
||||||
|
|||||||
Reference in New Issue
Block a user