From b324e7f0d1112cfb993969088e35f62e55b0bd14 Mon Sep 17 00:00:00 2001 From: sverweij Date: Sat, 20 Jul 2024 17:09:15 +0200 Subject: [PATCH] Reapply "fix(ci): runs release & prelease on node 22.4.x instead of 22.x to circumvent issue with 22.5 + npm 10.8.2" This reverts commit 6181e475b53e7fbf44321e04259b0b8b18f764be. --- .github/workflows/prerelease.yml | 5 ++++- .github/workflows/release.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 350227106..d3372583c 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -13,7 +13,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 22.x + # node-version: 22.x + # there's an issue with npm ci + npm 10.8.2 + node 22.5.0, so + # temporarily pinning to 22.4.x - see https://github.com/npm/cli/issues/7657 + node-version: 22.4.x registry-url: https://registry.npmjs.org - run: npm clean-install - run: npm publish --provenance --access public --tag beta diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9441ac26..407ed15d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 22.x + # node-version: 22.x + # there's an issue with npm ci + npm 10.8.2 + node 22.5.0, so + # temporarily pinning to 22.4.x - see https://github.com/npm/cli/issues/7657 + node-version: 22.4.x registry-url: https://registry.npmjs.org - run: npm clean-install - run: npm publish --provenance --access public