Skip to content

Commit e2d27d0

Browse files
Merge branch 'master' of github.com:waku-org/js-waku into chore/pubusb-topic-namespace
2 parents 6f9f98b + 535a748 commit e2d27d0

File tree

5 files changed

+44
-30
lines changed

5 files changed

+44
-30
lines changed

.github/workflows/ci.yml

-23
Original file line numberDiff line numberDiff line change
@@ -96,29 +96,6 @@ jobs:
9696
test_type: nwaku-master
9797
debug: waku*
9898

99-
pre-release:
100-
name: pre-release
101-
runs-on: ubuntu-latest
102-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
103-
needs: [check, proto, browser, node]
104-
steps:
105-
- uses: actions/checkout@v3
106-
with:
107-
repository: waku-org/js-waku
108-
109-
- uses: actions/setup-node@v3
110-
with:
111-
node-version: ${{ env.NODE_JS }}
112-
registry-url: "https://registry.npmjs.org"
113-
114-
- run: npm install
115-
116-
- run: npm run build
117-
118-
- run: npm run publish -- --tag next
119-
env:
120-
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_WAKU_PUBLISH }}
121-
12299
maybe-release:
123100
name: release
124101
runs-on: ubuntu-latest

.github/workflows/pre-release.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
workflow_dispatch:
3+
4+
jobs:
5+
pre-release:
6+
name: pre-release
7+
runs-on: ubuntu-latest
8+
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master'
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
repository: waku-org/js-waku
13+
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: ${{ env.NODE_JS }}
17+
registry-url: "https://registry.npmjs.org"
18+
19+
- run: npm install
20+
21+
- run: npm run build
22+
23+
- run: npm run publish -- --tag next
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_WAKU_PUBLISH }}

CONTRIBUTING.md

+9
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,12 @@ Commit messages should never contain any `@` mentions (usernames prefixed with "
6060

6161
Please refer to the [Git manual](https://git-scm.com/doc) for more information
6262
about Git.
63+
64+
### Releasing
65+
66+
`js-waku` has two types of releases:
67+
- public releases;
68+
- pre releases;
69+
70+
Public releases happen by merging PRs opened by `release-please` action.
71+
Pre releases happen manually by triggering [this workflow](https://github.com/waku-org/js-waku/actions/workflows/pre-release.yml)

package-lock.json

+9-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"@types/chai": "^4.3.5",
9494
"@types/debug": "^4.1.10",
9595
"@types/mocha": "^10.0.1",
96-
"@types/uuid": "^9.0.3",
96+
"@types/uuid": "^9.0.6",
9797
"@waku/build-utils": "*",
9898
"chai": "^4.3.7",
9999
"cspell": "^7.3.2",

0 commit comments

Comments
 (0)