New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occurred while running semantic-release: SyntaxError: Unexpected identifier 'assert' #3280
Comments
I have the same issue with my pipelines :( Apparently, there has been a backward incompatible change in the last few days... |
Node v22 became "current" a few days ago. There was no backwards incompatible change made on the semantic-release side. You likely do not have your node version pinned within your pipeline, so your underlying version likely updated with that status change. Worth noting that v22 is not yet considered lts for another six months. |
@travi Thank you for your comments. As you said, for now, I fixed it with setting the node on a specific version. For those who are looking for a quick fix:
|
@travi Thank you for pointing me into the right direction. I just checked the Docker containers and in my case the versions have not changed.
However, the following downgrade has fixed the GitLab CI pipeline.
|
This should be fixed by https://github.com/semantic-release/gitlab/releases/tag/v13.0.4 |
Current behavior
The GitLab CI pipeline has been failing for a few days, although there have been no changes to the code. Therefore, I suspect that this problem is caused by one of the dependencies.
Expected behavior
A new release is created.
semantic-release
version23.0.8
CI environment
GitLab
Plugins used
@semantic-release/commit-analyzer
@semantic-release/release-notes-generator
@semantic-release/gitlab
@semantic-release/changelog
@semantic-release/git
semantic-release
configurationCI logs
The text was updated successfully, but these errors were encountered: