aboutsummaryrefslogtreecommitdiff
path: root/.gitea
diff options
context:
space:
mode:
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