From 284c99f62398b9bb6753ddb64aa8b0063c2fb957 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 30 Oct 2025 14:12:11 -0700 Subject: [PATCH] test ci --- .forgejo/workflows/ci.yml | 26 ++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 27 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..e187173 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,26 @@ +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + env: + NODE_ENV: production + container: + image: node:22-bullseye + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Build Frontend + working-directory: frontend + run: | + npm install + npm run production + + - name: Build Backend + working-directory: backend + run: | + npm install + npm run production diff --git a/.gitignore b/.gitignore index 2abc4c7..1969b51 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ db/ */.env .env* todo +.forgejo/workflows/env sqldumps/ logs/ dist/