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