Skip to content

chore: update CI workflows#37

Merged
taran-a merged 5 commits into
mainfrom
chore/update-workflows
Jul 21, 2026
Merged

chore: update CI workflows#37
taran-a merged 5 commits into
mainfrom
chore/update-workflows

Conversation

@taran-a

@taran-a taran-a commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Explanation

Add bitcoin env vars to publish release and preview workflows.
Add environment: default-branch to publish-release job.
"LOG_LEVEL": "all" - is a constant for all preview builds.
Remove create-update-issues workflow and its script.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@taran-a
taran-a requested a review from mikesposito July 21, 2026 10:57
@taran-a
taran-a requested review from a team as code owners July 21, 2026 10:57
@taran-a
taran-a temporarily deployed to default-branch July 21, 2026 10:57 — with GitHub Actions Inactive

@ulissesferreira ulissesferreira left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This LGTM! I always wondered, why do we run two different Node versions on the CI's? Just to detect possible Node bugs?

@taran-a

taran-a commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

This LGTM! I always wondered, why do we run two different Node versions on the CI's? Just to detect possible Node bugs?

@ulissesferreira how do you know that we run two different Node versions?)

@taran-a
taran-a requested a review from ulissesferreira July 21, 2026 12:31
@mikesposito

Copy link
Copy Markdown
Member

why do we run two different Node versions on the CI's? Just to detect possible Node bugs?

@ulissesferreira to be sure that the package is compatible with both Node versions

Comment thread .github/workflows/main.yml Outdated
uses: ./.github/workflows/publish-release.yml
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
LOG_LEVEL: ${{ secrets.LOG_LEVEL }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

what's the secrets' value for this one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

LOG_LEVEL=silent

@mikesposito mikesposito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should update ./.github/workflows/lint-build-test.yml as well

Comment thread .github/workflows/publish-preview.yml Outdated
@mikesposito

mikesposito commented Jul 21, 2026

Copy link
Copy Markdown
Member

how do you know that we run two different Node versions?)

@taran-a three actually

node-version: [20.x, 22.x, 24.x]

@taran-a

taran-a commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

We should update ./.github/workflows/lint-build-test.yml as well

hm, what we have to update there, please suggest ?

@mikesposito

Copy link
Copy Markdown
Member

hm, what we have to update there, please suggest ?

Apologies, I was very vague. I'm referring to the build job in lint-build-test.yml - it's missing the environment variables.

@taran-a

taran-a commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

hm, what we have to update there, please suggest ?

Apologies, I was very vague. I'm referring to the build job in lint-build-test.yml - it's missing the environment variables.

np) regarding variables - do you think we should use prod env here for testing and etc...? I checked with the source repo and we used fallback values there

@mikesposito

Copy link
Copy Markdown
Member

If they are empty on the source repo it's ok to leave them empty here. Also they likely would affect unit tests only, and they are all mocked. Should be safe to use fallbacks 👍

@taran-a
taran-a requested a review from mikesposito July 21, 2026 16:17
Comment thread AGENTS.md Outdated

@mikesposito mikesposito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@taran-a
taran-a added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit f96b0ac Jul 21, 2026
43 checks passed
@taran-a
taran-a deleted the chore/update-workflows branch July 21, 2026 16:29
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