-
Notifications
You must be signed in to change notification settings - Fork 48
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
Updates release script #761
Conversation
.github/workflows/release.yml
Outdated
permissions: | ||
checks: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely don't need checks: write
here. Looks like this job failed last time because grunt
wasn't installed correctly. https://github.com/amazon-ion/ion-js/actions/runs/4800737685/job/13015905967#step:7:15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about why the grunt
command shows not found. In the build script it seems to work fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should probably add run: npm ci
before doing run: npm publish
to solve installing grunt or any other dependencies which might be needed for publish.
From the github documents on publishing node.js package:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ GITHUB_TOKEN }}
Description of changes:
This PR updates the release script which was broken as per the last release.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.