From 6acc88e953c4a989a34914e16e24805ade7670c5 Mon Sep 17 00:00:00 2001 From: rechka Date: Sun, 5 Jul 2026 15:02:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.forgejo/workflows/build.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/build.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .forgejo/workflows/build.yaml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..e1838e8 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,24 @@ +name: Node.js Automated Build + +on: + push: + branches: + - main # или master, смотря какая ветка у тебя главная + + jobs: + build: + runs-on: docker + # Если используешь стандартный runner, можно указать образ напрямую: + container: + image: node:20-alpine + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install dependencies + run: npm ci # или npm install, но ci быстрее и надежнее для CI/CD + + - name: Run Build + run: npm run build + \ No newline at end of file