From 73180002185500ebfc367ae5faae09ccba651a9b Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Wed, 25 Feb 2026 19:26:29 +0100 Subject: [PATCH] Move from drone-ci to forgejo actions. --- .drone.yml | 16 ---------------- .forgejo/workflows/npm-build.yaml | 13 +++++++++++++ next-env.d.ts | 2 +- 3 files changed, 14 insertions(+), 17 deletions(-) delete mode 100644 .drone.yml create mode 100644 .forgejo/workflows/npm-build.yaml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index d1fabfc..0000000 --- a/.drone.yml +++ /dev/null @@ -1,16 +0,0 @@ -kind: pipeline -type: docker -name: default - -steps: - - name: install - image: node:22-alpine - commands: - - npm install - - npm run lint - - npm run build - when: - branch: - include: - - main - - feature/* diff --git a/.forgejo/workflows/npm-build.yaml b/.forgejo/workflows/npm-build.yaml new file mode 100644 index 0000000..b81f84f --- /dev/null +++ b/.forgejo/workflows/npm-build.yaml @@ -0,0 +1,13 @@ +on: [push] +jobs: + maven-build: + runs-on: docker + container: + image: node:25-trixie + steps: + - name: Checkout repository + uses: actions/checkout@v6 + - name: Run npm build + run: npm run build + - name: Run npm lints + run: npm run lint diff --git a/next-env.d.ts b/next-env.d.ts index c4b7818..9edff1c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/dev/types/routes.d.ts"; +import "./.next/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.