File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed
Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ name: Node.js CI
55
66on :
77 push :
8- branches : [ "master", "develop" ]
8+ branches : [ "master" ]
99 pull_request :
10- branches : [ "master", "develop" ]
10+ branches : [ "master" ]
1111
1212jobs :
1313 build :
@@ -25,10 +25,16 @@ jobs:
2525 uses : actions/setup-node@v3
2626 with :
2727 node-version : ${{ matrix.node-version }}
28- cache : ' npm'
28+ cache : " npm"
2929 - run : npm install
3030 - run : npm run build
3131 - run : npm test
3232 - run : sudo apt-get install xvfb
3333 - run : xvfb-run --auto-servernum npm run test:chrome
3434 - run : xvfb-run --auto-servernum npm run test:firefox
35+
36+ - name : Publish to npm
37+ if : github.ref == 'refs/heads/master' && github.event_name == 'push'
38+ env :
39+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
40+ run : npm publish
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ npm install @puremvc/puremvc-js-multicore-framework
2424* [ React Native] ( https://en.wikipedia.org/wiki/React_Native )
2525
2626## Status
27- Production - [ Version 2.0.7 ] ( https://github.com/PureMVC/puremvc-js-multicore-framework/blob/master/VERSION )
27+ Production - [ Version 2.0.8 ] ( https://github.com/PureMVC/puremvc-js-multicore-framework/blob/master/VERSION )
2828
2929#### Documentation
3030- https://jsdoc.app/about-commandline.html
Original file line number Diff line number Diff line change 11PureMVC MultiCore Framework for JavaScript
22--------------------------------------------------------------------------
3- Release Date: 8/14 /24
3+ Release Date: 9/4 /24
44 Platform: JavaScript
55 Version: 2
66 Revision: 0
7- Minor: 7
7+ Minor: 8
88 Authors: Saad Shams <saad.shams@puremvc.org>
99 : David Foley <david.foley@puremvc.org>
1010 : Cliff Hall <cliff.hall@puremvc.org>
@@ -17,3 +17,4 @@ Release Date: 8/14/24
17172.0.5 - NPM package borked for cjs
18182.0.6 - NPM package bundling the ESM/CommonJS support
19192.0.7 - Finally? NPM bundling
20+ 2.0.8 - CI/CD Pipeline
Original file line number Diff line number Diff line change 11{
22 "name" : " @puremvc/puremvc-js-multicore-framework" ,
3- "version" : " 2.0.7 " ,
3+ "version" : " 2.0.8 " ,
44 "description" : " PureMVC MultiCore Framework for JavaScript" ,
55 "type" : " module" ,
66 "main" : " bin/cjs/index.cjs" ,
1111 "import" : " ./bin/esm/index.js"
1212 }
1313 },
14- "bin" : {
15- "puremvc-js-multicore-framework" : " bin/esm/index.js"
16- },
1714 "scripts" : {
1815 "build" : " npm run clean && npm run build:lib" ,
1916 "build:lib" : " rollup -c build/rollup.conf.mjs" ,
You can’t perform that action at this time.
0 commit comments