From fd62272aa2881e9fa1dfea869f5641a6095e3704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20H=C3=B6ppner?= Date: Tue, 19 May 2026 20:10:32 +0200 Subject: [PATCH] Add GitHub Actions workflow for code check and TypeScript build --- .gitea/workflows/check.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .gitea/workflows/check.yml diff --git a/.gitea/workflows/check.yml b/.gitea/workflows/check.yml new file mode 100644 index 0000000..0143993 --- /dev/null +++ b/.gitea/workflows/check.yml @@ -0,0 +1,39 @@ +name: Code Check + +on: + push: + branches: + - main + - master + - develop + pull_request: + branches: + - main + - master + - develop + +jobs: + check: + runs-on: docker + container: + image: node:20 + + strategy: + matrix: + node-version: [20.x] + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build TypeScript + run: npm run build