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