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
+43
View File
@@ -0,0 +1,43 @@
name: Test
on:
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@v7.0.0
with:
cache: npm
node-version: 24.18.0
- run: npm ci
- run: npm run lint
- run: npm run build
test:
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
# The floor in package.json engines, every LTS above it, and current.
node: ['18', '20', '22', '24', '26']
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@v7.0.0
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm ci
# Compiled rather than type-stripped: Node 18 and 20 cannot run TypeScript directly.
- run: npm run test:compiled