Skip to content

Commit

Permalink
Merge branch 'chore/pubusb-topic-namespace' of github.com:waku-org/js…
Browse files Browse the repository at this point in the history
…-waku into adklempner/forbid-pubSub
  • Loading branch information
danisharora099 committed Nov 8, 2023
2 parents f41de98 + e2d27d0 commit 6aba1b4
Show file tree
Hide file tree
Showing 54 changed files with 444 additions and 440 deletions.
2 changes: 1 addition & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"Привет",
"مرحبا"
],
"flagWords": ["pubSub", "pubSubTopics", "pubSubTopic"],
"flagWords": ["pubSub: pubsub", "pubSubTopics: pubsubTopics", "pubSubTopic: pubsubTopic", "PubSub: Pubsub", "PubSubTopics: PubsubTopics", "PubSubTopic: PubsubTopic", "DefaultPubSubTopic: DefaultPubsubTopic"],
"ignorePaths": [
"package.json",
"package-lock.json",
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,29 +96,6 @@ jobs:
test_type: nwaku-master
debug: waku*

pre-release:
name: pre-release
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs: [check, proto, browser, node]
steps:
- uses: actions/checkout@v3
with:
repository: waku-org/js-waku

- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_JS }}
registry-url: "https://registry.npmjs.org"

- run: npm install

- run: npm run build

- run: npm run publish -- --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_WAKU_PUBLISH }}

maybe-release:
name: release
runs-on: ubuntu-latest
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
workflow_dispatch:

jobs:
pre-release:
name: pre-release
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
with:
repository: waku-org/js-waku

- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_JS }}
registry-url: "https://registry.npmjs.org"

- run: npm install

- run: npm run build

- run: npm run publish -- --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_WAKU_PUBLISH }}
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,12 @@ Commit messages should never contain any `@` mentions (usernames prefixed with "

Please refer to the [Git manual](https://git-scm.com/doc) for more information
about Git.

### Releasing

`js-waku` has two types of releases:
- public releases;
- pre releases;

Public releases happen by merging PRs opened by `release-please` action.
Pre releases happen manually by triggering [this workflow](https://github.com/waku-org/js-waku/actions/workflows/pre-release.yml)
Loading

0 comments on commit 6aba1b4

Please sign in to comment.