From b1a0ff10bf39b2f556e5f895fe8e31d456482ef9 Mon Sep 17 00:00:00 2001 From: Jeremiasz Major Date: Thu, 2 May 2024 08:32:07 +0200 Subject: [PATCH] use latest node version --- .github/workflows/ci.yml | 2 +- tests/Formatters/Number/NodeVersionTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf624b7d39..389c48342f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '21.3' + node-version: '22.0' - name: Get Composer cache directory path id: composer-cache diff --git a/tests/Formatters/Number/NodeVersionTest.php b/tests/Formatters/Number/NodeVersionTest.php index 2e756d9435..6cf6c6ab86 100644 --- a/tests/Formatters/Number/NodeVersionTest.php +++ b/tests/Formatters/Number/NodeVersionTest.php @@ -12,13 +12,13 @@ final class NodeVersionTest extends TestCase #[TestDox('local node uses correct icu version')] public function testIcu(): void { - $this->assertSame('74.1', $this->versionOf('icu')); + $this->assertSame('74.2', $this->versionOf('icu')); } #[TestDox('local node uses correct cldr version')] public function testCldr(): void { - $this->assertSame('44.0', $this->versionOf('cldr')); + $this->assertSame('44.1', $this->versionOf('cldr')); } private function versionOf(string $library): string