From b46567f40e7571b1d46861f8ee5a4dcfeb8b93cc Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 3 Jun 2026 04:01:18 +0000 Subject: [PATCH] =?UTF-8?q?PR-715551:=20Fix=20CI=20=E2=80=94=20upgrade=20t?= =?UTF-8?q?o=20Node=2022=20and=20remove=20--legacy-peer-deps.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ruru@2.0.0 requires Node >=22. Updated all workflow jobs to Node 22 and removed --legacy-peer-deps flag since peer deps resolve cleanly. --- .github/workflows/main-workflow.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 7376806..4f03746 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -16,17 +16,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x] + node-version: [22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: actions/checkout@v3 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 cache: 'npm' registry-url: https://registry.npmjs.org/ - - run: npm ci --legacy-peer-deps + - run: npm ci - run: npm test # Job to build the package @@ -38,9 +38,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 registry-url: https://registry.npmjs.org/ - - run: npm ci --legacy-peer-deps + - run: npm ci - run: npm run build # Job to publish the package to npm @@ -52,9 +52,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 22 registry-url: https://registry.npmjs.org/ - - run: npm ci --legacy-peer-deps + - run: npm ci - run: npm publish --access=public env: NPM_PERSONAL_TOKEN: ${{secrets.npm_token}}