Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️Upgrade to Node.js 22 and PHP 8.3 #1461

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
⬆️Upgrade to Node.js 22 and PHP 8.3
jbelien committed Oct 20, 2024
commit f34aa47feb387adaba3cec0b132d62a77277510d
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '8.2', '8.3' ] # See https://www.php.net/supported-versions.php
php-versions: [ '8.3' ] # See https://www.php.net/supported-versions.php
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
@@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16.x, 18.x ] # See https://nodejs.org/en/about/releases/
node-version: [ 22.x ] # See https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
2 changes: 1 addition & 1 deletion .platform.app.yaml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ hooks:

curl -fs https://get.symfony.com/cloud/configurator | bash

NODE_VERSION=18 symfony-build
NODE_VERSION=22 symfony-build
deploy: |
set -x -e

6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Node.js (Build assets)

FROM node:16-alpine as node
FROM node:22-alpine AS node

WORKDIR /assets

@@ -11,11 +11,11 @@ RUN npm run build

# Composer

FROM composer:2 as composer
FROM composer:2 AS composer

# Application

FROM php:8.1-apache as app
FROM php:8.3-apache AS app

## Install PHP dependencies