Skip to content
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

Merged
merged 4 commits into from
Jul 20, 2023
Merged

Conversation

desaikd
Copy link
Contributor

@desaikd desaikd commented Jul 20, 2023

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.

Comment on lines 55 to 56
permissions:
checks: write
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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 }}

@desaikd desaikd requested a review from popematt July 20, 2023 22:50
@desaikd desaikd merged commit 041a172 into amazon-ion:master Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants