pummmp.fun/.forgejo/workflows/build.yaml
Workflow config file is invalid. Please check your config file: yaml: line 5: did not find expected '-' indicator

24 lines
No EOL
1.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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