File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 6565 name : Verify no Javascript errors found in Qt
6666 command : bin/qt-js-check.sh
6767
68+ publish :
69+ docker :
70+ - image : cimg/node:14.13.1
71+ steps :
72+ - checkout
73+ - run :
74+ name : Install Javascript dependencies
75+ command : npm --prefix ./glean install
76+ - run :
77+ name : NPM Authentication
78+ command : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
79+ - run :
80+ name : Publish to npm
81+ command : export PATH=.:$PATH && (cd glean && npm publish)
82+
6883
6984workflows :
7085 version : 2
@@ -73,6 +88,15 @@ workflows:
7388 - lint
7489 - unit-tests
7590 - check-qt-js
91+ - publish :
92+ requires :
93+ - lint
94+ - unit-tests
95+ filters :
96+ branches :
97+ ignore : /.*/
98+ tags :
99+ only : /v[0-9]+(\.[0-9]+)*/
76100 # Comment this job away until Bug 1681899 is resolved.
77101 # - check-size:
78102 # filters:
You can’t perform that action at this time.
0 commit comments