fix: disable ssl3
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -7,16 +7,12 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Заставляем задачу выполняться сразу внутри контейнера с Node.js 18
|
||||||
|
container: node:18-alpine
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
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
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
@@ -26,15 +22,11 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: lint
|
needs: lint
|
||||||
|
container: node:18-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
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
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
@@ -48,5 +40,6 @@ jobs:
|
|||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
||||||
|
|
||||||
|
# Здесь контейнер не нужен, так как собираем сам Docker-образ
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: docker build -t docker_lab:latest .
|
run: docker build -t docker_lab:latest .
|
||||||
|
|||||||
Reference in New Issue
Block a user