From ed99a8bed4b3ff258a2b19ac5b0cdc38f5621d96 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 | 15 +++++++++++++++ next-env.d.ts | 2 +- 3 files changed, 16 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..2ba574d --- /dev/null +++ b/.forgejo/workflows/npm-build.yaml @@ -0,0 +1,15 @@ +on: [push] +jobs: + maven-build: + runs-on: docker + container: + image: node:25-trixie + steps: + - name: Checkout repository + uses: actions/checkout@v6 + - name: Run npm install + run: npm install + - 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.