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

feature: Release NPM for PR #207

Merged
merged 38 commits into from
Nov 13, 2023
Merged

feature: Release NPM for PR #207

merged 38 commits into from
Nov 13, 2023

Conversation

kevinshahfws
Copy link
Contributor

No description provided.

@kevinshahfws kevinshahfws changed the base branch from pr-channel to next November 6, 2023 20:36
@@ -69,18 +70,25 @@ jobs:
run: npx semantic-release --dry-run
- name: Build artifacts for PRs
if: github.event_name == 'pull_request'
run: npm run dist
run: |
npm version prerelease --preid pr207 --workspaces --git-tag-version false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need this twice now, --include-workspace-root fixes that

echo "RELEASE_CHANNEL=$(node ./src/js/version.mjs channel $NPM_DIST_TAG)" >> $GITHUB_ENV
- name: Override release channel for PRs
if: github.event_name == 'pull_request'
echo "NPM_DIST_TAG=test" >> $GITHUB_ENV
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this set the npm release channel to test?

@kevinshahfws kevinshahfws merged commit 3a33fbd into next Nov 13, 2023
7 checks passed
@kevinshahfws
Copy link
Contributor Author

🎉 This PR is included in version 1.1.0-next.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@kevinshahfws
Copy link
Contributor Author

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants