Files
quibot/.gitea/workflows/build.yml
BinarySandia04 a4f14f3c4a
All checks were successful
Build Nuxt App / build (push) Successful in 18s
Test CI
2026-04-22 10:50:28 +02:00

50 lines
982 B
YAML

name: Build Nuxt App
on:
push:
branches:
- master
jobs:
build:
runs-on: docker
defaults:
run:
working-directory: quibot-web
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
apt update
apt install -y zip
npm install
- name: Build Nuxt app
run: npm run build
- name: Prepare package
run: |
mkdir -p dist_package
cp -r .output dist_package/
cp package.json dist_package/
cp package-lock.json dist_package/ || true
- name: Create zip
run: |
cd dist_package
zip -r ../quibot-web.zip .
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: quibot-web
path: quibot-web/quibot-web.zip