From fe46206177127785c7e435a43ecfae68b0c78225 Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Thu, 30 Jul 2026 02:02:26 +0200 Subject: [PATCH] Use Gitea CI --- .gitea/workflows/ci.yml | 25 +++++++++++++++++++++++++ .gitlab-ci.yml | 17 ----------------- 2 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 .gitea/workflows/ci.yml delete mode 100644 .gitlab-ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..155e0ea --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + pull_request: + +jobs: + checks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + # Keep in sync with mise.toml + node-version: 24 + cache: npm + + - run: npm ci + + - run: npm run lint + + - run: npm run check-types + + - run: npm test diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 01c1261..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,17 +0,0 @@ -default: - image: node:20-slim - cache: - paths: - - node_modules - -check_types: - stage: test - script: - - npm i - - npm run check-types - -lint: - stage: test - script: - - npm i - - npm run lint