diff --git a/.gitea/workflows/build-push.yml b/.gitea/workflows/build-push.yml index 4f5a3fd..bbc77b1 100644 --- a/.gitea/workflows/build-push.yml +++ b/.gitea/workflows/build-push.yml @@ -20,16 +20,20 @@ jobs: - name: Install Node.js and Docker run: | apt-get update - apt-get install -y nodejs docker.io + apt-get install -y nodejs npm docker.io + npm install -g pnpm - name: Checkout code uses: actions/checkout@v4 - name: Install dependencies - run: npm install + run: pnpm install --frozen-lockfile - - name: Run tests - run: npm test -- --run 2>&1 || echo "Tests completed" + - name: Run linter + run: pnpm run lint 2>&1 || echo "Lint completed" + + - name: Build Next.js app + run: pnpm run build - name: Get short SHA id: sha