diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml
index 970bf6c..dcc5a74 100644
--- a/.gitea/workflows/build.yml
+++ b/.gitea/workflows/build.yml
@@ -15,18 +15,11 @@ jobs:
 
     steps:
       - name: Checkout repo
-        uses: actions/checkout@v3
-      - uses: pnpm/action-setup@v2
-        with:
-          version: 8
-      - name: Setup Node
-        uses: actions/setup-node@v3
-        with:
-          node-version: 18
+        uses: actions/checkout@v4
       - name: Install dependencies
-        run: pnpm install
+        run: echo y | npm exec -- pnpm install
       - name: Build project
-        run: pnpm build
+        run: npm exec -- pnpm build
       - name: Upload production-ready build files
         uses: actions/upload-artifact@v3
         with: