Обновить .gitea/workflows/test.yml
Some checks failed
Build and Test Application / build (push) Failing after 7s

This commit is contained in:
mt77 2025-04-11 21:02:05 +05:00
parent 321f927de4
commit 783e4c1e4d

View File

@ -8,23 +8,11 @@ jobs:
runs-on: docker
steps:
# Шаг 1: Установка Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
# Шаг 2: Установка зависимостей и сборка
- name: Install dependencies and build
run: |
npm ci
npm run build
# Шаг 3: Checkout кода
# Шаг 1: Checkout кода
- name: Checkout repository
uses: actions/checkout@v3
# Шаг 4: Логин в Docker Registry (Gitea)
# Шаг 2: Логин в Docker Registry (Gitea)
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
@ -32,7 +20,7 @@ jobs:
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_TOKEN }}
# Шаг 5: Сборка и пуш Docker образа
# Шаг 3: Сборка и пуш Docker образа
- name: Build and push Docker image
uses: docker/build-push-action@v5
with: