diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2e57539..9e2d1b7 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,12 +5,12 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest - timeout: 10 steps: - - name: Checkout - run: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git ${{ github.workspace }} - - name: Run CI - run: | + - uses: actions/checkout@v4 + with: + full: true + - run: | + which node || (apt-get update && apt-get install -y nodejs npm) npm install npm run lint npm run typecheck