File tree 3 files changed +34
-23
lines changed
3 files changed +34
-23
lines changed Original file line number Diff line number Diff line change 96
96
test_type : nwaku-master
97
97
debug : waku*
98
98
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
-
122
99
maybe-release :
123
100
name : release
124
101
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
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 }}
Original file line number Diff line number Diff line change @@ -60,3 +60,12 @@ Commit messages should never contain any `@` mentions (usernames prefixed with "
60
60
61
61
Please refer to the [ Git manual] ( https://git-scm.com/doc ) for more information
62
62
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 )
You can’t perform that action at this time.
0 commit comments