Skip to content

Commit

Permalink
build: specify semantic release version that is compatible with node …
Browse files Browse the repository at this point in the history
…18 (openedx#639)

semantic-release [version 23](https://github.com/semantic-release/semantic-release/releases/tag/v23.0.0) includes the following breaking change:
* support for node v18 has been dropped and the minimum for v20 is now v20.8.1

This pins the release workflow to version 22 until we move away from node 18.
  • Loading branch information
brian-smith-tcril authored and bra-i-am committed May 14, 2024
1 parent 2f2b135 commit 230381c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: npm run build

- name: Release to npm/Github
run: npx semantic-release
run: npx semantic-release@22
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
Expand Down

0 comments on commit 230381c

Please sign in to comment.