Run CI, releases and Renovate on Gitea

This commit is contained in:
2026-09-13 17:57:10 +02:00
parent 8315f1882a
commit 68cd8e3f31
3 changed files with 26 additions and 4 deletions
@@ -6,7 +6,6 @@ on:
permissions: permissions:
contents: read contents: read
id-token: write
jobs: jobs:
publish: publish:
@@ -31,6 +30,6 @@ jobs:
} }
- run: npm run lint - run: npm run lint
- run: npm test - run: npm test
- run: npm publish --provenance --access public - run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+25
View File
@@ -0,0 +1,25 @@
name: Renovate
on:
schedule:
- cron: '43 4 * * *'
workflow_dispatch:
jobs:
renovate:
runs-on: docker-host
steps:
- name: Run Renovate against this repo
env:
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
run: |
docker run --rm \
-e GITHUB_COM_TOKEN \
-e LOG_LEVEL=info \
-e RENOVATE_ENDPOINT=https://gitea.larvit.se/api/v1 \
-e RENOVATE_GIT_AUTHOR="Renovate Bot <renovate@larvit.se>" \
-e RENOVATE_PLATFORM=gitea \
-e RENOVATE_REPOSITORIES=${{ github.repository }} \
-e RENOVATE_TOKEN \
renovate/renovate:44.39.2
@@ -1,8 +1,6 @@
name: Test name: Test
on: on:
push:
branches-ignore: ['main']
pull_request: pull_request:
permissions: permissions: