From e1c9d1d21d9265cc8f99e52d8855249ae8e54209 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 30 Oct 2025 13:57:01 -0700 Subject: [PATCH] test ci --- .forgejo/workflows/ci.yml | 24 ++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 25 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..f3825a7 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,24 @@ +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + container: + image: node:16-bullseye + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Build Frontend + working-directory: frontend + run: | + npm install + npm run build + + - 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/