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

feat: build and publish test version on PRs #171

Merged
merged 15 commits into from
Jul 10, 2023

Conversation

victorkirov
Copy link
Member

@victorkirov victorkirov commented Jul 5, 2023

This adds a publish step to PR builds (or if action is run manually on any branch) which publishes a test build to the package repository with a version <current_package_version>-<commit_short_sha>.

@victorkirov victorkirov requested a review from yknl July 5, 2023 06:17
@victorkirov victorkirov self-assigned this Jul 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2023

Test this PR with npm i @secretkeylabs/[email protected]

@victorkirov victorkirov requested a review from yknl July 5, 2023 18:45
@@ -2,7 +2,7 @@ name: Build

on:
pull_request:
branches: [main, develop]
branches: [main]
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we have develop here? Since PRs are opened against develop.

Copy link
Member Author

Choose a reason for hiding this comment

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

The new workflow does this as one of its steps, so I took it out of here since it would be doing the same thing twice.

Comment on lines +18 to +29
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: npm ci
# TODO: enable linting once ready
# - run: npm run lint
- run: npm test
Copy link
Member Author

Choose a reason for hiding this comment

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

@yknl this is the bit that the other workflow is doing

@yknl yknl merged commit 3d53e81 into develop Jul 10, 2023
@victorkirov victorkirov deleted the victor/eng-2353-npm-publish-core-package-for-each-pr branch August 2, 2023 06:47
teebszet pushed a commit that referenced this pull request Oct 8, 2024
…contract-call-fees

Update dependencies and add Stacks api provider
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