Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
branches:
- master
- develop

jobs:
version:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- develop

permissions:
contents: write
Expand Down Expand Up @@ -54,14 +53,3 @@ jobs:
publish: pnpm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Develop Release
if: github.ref == 'refs/heads/develop'
uses: changesets/action@v1
with:
version: pnpm run version
commit: "chore: version bump"
title: "Develop branch version bump"
publish: pnpm run publish:next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,16 @@ For running tests:
```bash
pnpm test
```

### Releasing

`master` is the only long-lived branch. Open pull requests against `master`
and add a changeset for any change to a published package:

```bash
pnpm changeset
```

When changesets land on `master`, the release workflow opens a "Master branch
version bump" pull request. Merging it publishes the new versions to npm under
`latest`.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"format": "pnpm run -r format",
"format:check": "pnpm run -r format:check",
"publish": "pnpm publish -r --no-git-checks --access public && changeset tag",
"publish:next": "pnpm publish -r --no-git-checks --access public --tag next && changeset tag",
"test": "CI=true pnpm run -r test",
"version": "changeset version && pnpm install --lockfile-only"
},
Expand Down
Loading