diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index c88393d..f0cf23e 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -2,6 +2,24 @@ name: 'deploy' on: [push] jobs: + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install dependencies + run: npm ci + + - name: Lint with Biome + run: npx biome ci . + + - name: Check types + run: npx tsc --noEmit + deploy: runs-on: ubuntu-latest steps: @@ -19,4 +37,4 @@ jobs: with: branch: 'main' git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}' - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} \ No newline at end of file + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}