Skip to content

Commit

Permalink
Merge pull request #605 from xmtp/rygine/beta-release-docs
Browse files Browse the repository at this point in the history
Add docs for creating beta releases
  • Loading branch information
rygine authored Jul 12, 2024
2 parents baf1410 + b9a48bb commit 903f670
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/js-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ on:
paths:
- 'packages/js-sdk/**'
- '.github/workflows/js-sdk.yml'
- 'dev/**'
- '.node-version'
- '.nvmrc'
- '.prettierignore'
- '.prettierrc.cjs'
- '.yarnrc.yml'
- 'turbo.json'
- 'yarn.lock'

jobs:
typecheck:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mls-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ on:
paths:
- 'packages/mls-client/**'
- '.github/workflows/mls-client.yml'
- 'dev/**'
- '.node-version'
- '.nvmrc'
- '.prettierignore'
- '.prettierrc.cjs'
- '.yarnrc.yml'
- 'turbo.json'
- 'yarn.lock'

jobs:
typecheck:
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/noop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: No code changes

on:
push:
branches:
- main

pull_request:
paths:
- '.changeset/**'
- '.github/**'
- '!.github/workflows/js-sdk.yml'
- '!.github/workflows/mls-client.yml'
- '.vscode/**'
- '.yarn/**'
- '*'
- '!.node-version'
- '!.nvmrc'
- '!.prettierignore'
- '!.prettierrc.cjs'
- '!.yarnrc.yml'
- '!turbo.json'
- '!yarn.lock'

jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to typecheck"

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to lint"

prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
env:
SKIP_YARN_COREPACK_CHECK: '1'
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Format check
run: yarn prettier -c .

test:
name: Test
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to test"

build:
name: Build
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to build"
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ Manual validation requires setting up a client app such as the [example app](htt
## 🚢 Publishing

This repository uses [changesets](https://github.com/changesets/changesets) to publish updates. Pull requests must contain a changeset in order for changes to be published. The [changeset-bot](https://github.com/apps/changeset-bot) will guide you through this process.

### Beta releases

To begin development on a beta release, make sure the `beta` branch is up to date with the `main` branch. Create a new branch from the `beta` branch. After merging your changes into the `beta` branch, you must create a PR from the `beta` branch into the `releases/beta` branch. Once merged, a beta release will be published to the NPM registry.

After the beta period has ended, merge the latest `beta` branch into `main` to publish a production release with the changes.

0 comments on commit 903f670

Please sign in to comment.