diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 594a61bf..cc462e1d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,7 +43,7 @@ jobs: php-version: '8.1' - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Set up .env run: php -r "file_exists('.env') || copy('.env.ci', '.env');" - name: Install Composer dependencies @@ -76,7 +76,7 @@ jobs: php-version: '8.1' - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Set up .env run: php -r "file_exists('.env') || copy('.env.ci', '.env');" - name: Install Composer dependencies diff --git a/Dockerfile b/Dockerfile index 9b6a3389..f459cc2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN install-php-extensions pdo_mysql zip calendar gd RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # Install Node.js -RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \ +RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \ apt-get install -y nodejs WORKDIR /var/www