diff --git a/.github/workflows/nuxthub.yml b/.github/workflows/nuxthub.yml index af22269..9a815d4 100644 --- a/.github/workflows/nuxthub.yml +++ b/.github/workflows/nuxthub.yml @@ -16,33 +16,27 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install build tools - run: sudo apt-get update && sudo apt-get install -y build-essential + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' - name: Install pnpm uses: pnpm/action-setup@v4 + - name: Install build tools + run: sudo apt-get update && sudo apt-get install -y build-essential + - name: Install dependencies run: pnpm install --unsafe-perm - name: Rebuild better-sqlite3 bindings run: pnpm rebuild better-sqlite3 - - name: Build - run: pnpm build - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: 'pnpm' - - - name: Install dependencies - run: pnpm install - - name: Build application run: pnpm run build - name: Deploy to NuxtHub uses: nuxt-hub/action@v1 - id: deploy \ No newline at end of file + id: deploy