diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d45233f..e4fd6db 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -16,9 +16,8 @@ jobs:
 
     steps:
       - uses: actions/checkout@v3
-      - uses: actions/setup-node@v4
-        with:
-          node-version: 18
+      - name: Install nodejs
+        run: apt-get update && apt-get install -y nodejs
       - name: Build the thesis
         run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en
       - name: Upload artifacts