diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e2d000e..33f889d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -12,17 +12,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' + - name: Setup Bun + uses: oven-sh/setup-bun@v1 - name: Install dependencies - run: npm ci + run: bun install - name: Lint frontend - run: npm run lint + run: bun run lint build-frontend: needs: lint-frontend @@ -30,17 +27,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' + - name: Setup Bun + uses: oven-sh/setup-bun@v1 - name: Install dependencies - run: npm ci + run: bun install - name: Build frontend - run: npm run build + run: bun run build - name: Build and push Docker image run: |