From a74aaadd6cce1d25f6ad4421ef5c3e4d793b0b62 Mon Sep 17 00:00:00 2001 From: Taku Amano Date: Thu, 16 Jul 2026 11:24:58 +0900 Subject: [PATCH 1/2] Update CI workflows to use Node.js 24 and update GitHub Actions versions --- .github/workflows/build.yml | 8 +++++--- .github/workflows/test.yml | 23 ++++++++++++++--------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af6c3d4..9622371 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,12 +17,14 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: "18" + node-version: "24" - name: Install libs run: sudo apt-get install --no-install-recommends -y libjson-perl libyaml-perl zip diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5eb0b7..b93da6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,21 +15,25 @@ jobs: strategy: matrix: config: - - { image: cloud7 } - - { image: buster, phpunit: false } + - { image: centos7 } - { image: bullseye } - { image: fedora35 } - { image: fedora37 } - { image: fedora40 } - - { image: fedora41 } - { image: fedora42 } + - { image: fedora43 } + - { image: fedora44 } + - { image: cloud7 } admin_theme_id: - legacy - admin2023 steps: - - uses: actions/checkout@v4 - - uses: actions/checkout@v4 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: + persist-credentials: false + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false repository: movabletype/movabletype ref: develop path: mt @@ -63,13 +67,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: 20 + node-version: 24 cache: npm - name: Install dependencies From 183f6563377a57c9b8864b9984471f402336132a Mon Sep 17 00:00:00 2001 From: Taku Amano Date: Thu, 16 Jul 2026 11:25:26 +0900 Subject: [PATCH 2/2] Rename docker-compose.yml to compose.yml and update Node.js version to 24 --- docker-compose.yml => compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename docker-compose.yml => compose.yml (90%) diff --git a/docker-compose.yml b/compose.yml similarity index 90% rename from docker-compose.yml rename to compose.yml index 8891f16..358d1fe 100644 --- a/docker-compose.yml +++ b/compose.yml @@ -4,7 +4,7 @@ services: build: context: . args: - - NODE=16 + - NODE=24 volumes: - .:/app working_dir: /app