Skip to content

Commit

Permalink
Merge branch 'master' of github.com:waku-org/js-waku into chore/pubus…
Browse files Browse the repository at this point in the history
…b-topic-namespace
  • Loading branch information
danisharora099 committed Nov 8, 2023
2 parents 6f9f98b + 535a748 commit e2d27d0
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 30 deletions.
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)
15 changes: 9 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@types/chai": "^4.3.5",
"@types/debug": "^4.1.10",
"@types/mocha": "^10.0.1",
"@types/uuid": "^9.0.3",
"@types/uuid": "^9.0.6",
"@waku/build-utils": "*",
"chai": "^4.3.7",
"cspell": "^7.3.2",
Expand Down

0 comments on commit e2d27d0

Please sign in to comment.