From 02761928a56f104a1b6762d8c1dca3df508c7811 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Mon, 5 May 2025 11:07:25 +0200 Subject: [PATCH] add check action --- .gitea/workflows | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows diff --git a/.gitea/workflows b/.gitea/workflows new file mode 100644 index 0000000..1595b62 --- /dev/null +++ b/.gitea/workflows @@ -0,0 +1,28 @@ +name: Lint + +on: + pull_request: + push: + branches: + - '**' # matches every branch + +jobs: + lint_and_typecheck: + name: Lint and Typecheck + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + + - name: Setup Node.js + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + with: + node-version: 22 + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Run check + run: npm run check