Repository navigation
ci: release with Changesets #26
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Changesets | ||
|
|
||
| Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a tool to manage versioning and changelogs. Read the full documentation at https://changesets.dev. | ||
|
|
||
| We also have a quick list of common questions to get you started engaging with this project in our [FAQ](https://changesets.dev/faq). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/@changesets/config@4.0.1/schema.json", | ||
| "baseBranch": "main", | ||
| "access": "public", | ||
| "ignore": [], | ||
| "fixed": [], | ||
| "linked": [], | ||
| "format": "auto", | ||
| "updateInternalDependencies": "patch", | ||
| "commit": false, | ||
| "changelog": "@changesets/cli/changelog" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| id-token: write | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Version or publish | ||
| # A manual run on another branch must never reach `changeset publish`. | ||
| if: github.ref == 'refs/heads/main' | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 20 | ||
| services: | ||
| clickhouse: | ||
| image: clickhouse/clickhouse-server:26.8.2.7 | ||
| env: | ||
| CLICKHOUSE_USER: maple | ||
| CLICKHOUSE_PASSWORD: maple | ||
| CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "1" | ||
| ports: | ||
| - 8123:8123 | ||
| options: >- | ||
| --health-cmd "clickhouse-client --user maple --password maple --query 'SELECT 1'" | ||
| --health-interval 5s | ||
| --health-timeout 5s | ||
| --health-retries 20 | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 | ||
| - uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0 | ||
| - run: bun install --frozen-lockfile | ||
| # With changesets pending, opens or updates the "Version Packages" PR. | ||
| # Once that PR is merged, publishes to npm; prepublishOnly runs the release checks first. | ||
| # npm authenticates through trusted publishing (OIDC), so no token is configured here. | ||
| - uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2 | ||
| with: | ||
| version-script: bun run version-packages | ||
| publish-script: bun run release | ||
| commit-message: "chore: version packages" | ||
| pr-title: "chore: version packages" | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| NPM_CONFIG_PROVENANCE: "true" | ||
| EFFECT_ORM_CLICKHOUSE_URL: http://127.0.0.1:8123 | ||
| EFFECT_ORM_CLICKHOUSE_USER: maple | ||
| EFFECT_ORM_CLICKHOUSE_PASSWORD: maple | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # Changelog | ||
| # @maple-dev/effect-orm | ||
|
|
||
| ## 0.4.0 | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.