diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0ab3b2f..70a5a95 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -8,6 +8,8 @@ on: jobs: deploy: runs-on: ubuntu-latest + container: + image: node:20 steps: # ── 1. Checkout ────────────────────────────────────────────────────────── @@ -15,10 +17,8 @@ jobs: uses: actions/checkout@v4 # ── 2. Node.js ─────────────────────────────────────────────────────────── - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' + # Node 20 jest już dostępny w obrazie kontenera (node:20) + # Nie potrzeba setup-node # ── 3. PHP + Composer ──────────────────────────────────────────────────── - name: Set up PHP