diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index aaeb5d5..3c07638 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,3 +1,5 @@ +name: CI + on: push: branches: [main] @@ -9,36 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 with: node-version: '20' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Run tests - run: npm test - - - name: Type check - run: npm run typecheck - - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Lint - run: npm run lint + - run: npm ci + - run: npm run build + - run: npx tsc --noEmit