Skip to content

Commit

Permalink
Reapply "fix(ci): runs release & prelease on node 22.4.x instead of 2…
Browse files Browse the repository at this point in the history
…2.x to circumvent issue with 22.5 + npm 10.8.2"

This reverts commit 6181e47.
  • Loading branch information
sverweij committed Jul 20, 2024
1 parent 4ab5b93 commit b324e7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b324e7f

Please sign in to comment.