aboutsummaryrefslogtreecommitdiff
path: root/.gitea
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-01-30 16:24:32 +0300
committerValentin Popov <valentin@popov.link>2026-01-30 16:24:32 +0300
commitff28f7d12cf0d21835b3d1cc7ca9eed8ae9fcb56 (patch)
treeadae4f9a4033507cc85b126cac75171a33b85189 /.gitea
parent91ba9ddbc220dbc0904e717176c24af80388f337 (diff)
downloadpopov.link-ff28f7d12cf0d21835b3d1cc7ca9eed8ae9fcb56.tar.xz
popov.link-ff28f7d12cf0d21835b3d1cc7ca9eed8ae9fcb56.zip
chore: add Renovate configuration and workflows
- Introduced .renovaterc for Renovate settings. - Added renovate.config.cjs for Gitea integration. - Created .gitea/workflows/renovate.yml for daily Renovate runs. - Added .gitea/workflows/test.yml for CI testing. - Removed outdated GitHub workflows and configuration files.
Diffstat (limited to '.gitea')
-rw-r--r--.gitea/workflows/renovate.yml27
-rw-r--r--.gitea/workflows/test.yml16
2 files changed, 43 insertions, 0 deletions
diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml
new file mode 100644
index 0000000..e020538
--- /dev/null
+++ b/.gitea/workflows/renovate.yml
@@ -0,0 +1,27 @@
+name: RenovateBot
+
+on:
+ schedule:
+ - cron: "@daily"
+ push:
+ branches:
+ - master
+
+jobs:
+ renovate:
+ container: ghcr.io/renovatebot/renovate:43
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v6
+
+ - name: Run renovate
+ run: |
+ renovate
+ env:
+ LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }}
+ RENOVATE_LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }}
+ RENOVATE_CONFIG_FILE: renovate.config.cjs
+ RENOVATE_REPOSITORIES: ${{ gitea.repository }}
+ RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml
new file mode 100644
index 0000000..982f712
--- /dev/null
+++ b/.gitea/workflows/test.yml
@@ -0,0 +1,16 @@
+name: Test
+
+on: [push, pull_request]
+
+jobs:
+ test:
+ name: npm test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ - run: npm ci
+ - run: npm run check
+ - run: npm run typecheck