Обновить .gitea/workflows/test.yml
Some checks failed
Build and Test Application / build (push) Failing after 7s
Some checks failed
Build and Test Application / build (push) Failing after 7s
This commit is contained in:
parent
5a67664739
commit
321f927de4
@ -7,13 +7,20 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
# Шаг 1: Checkout кода
|
|
||||||
|
# Шаг 1: Установка Node.js
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
# Шаг 2: Установка Node.js
|
# Шаг 2: Установка зависимостей и сборка
|
||||||
|
- name: Install dependencies and build
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
# Шаг 3: Checkout кода
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user