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
5
5
6
6
on :
7
7
push :
8
- branches : [ "master", "develop" ]
8
+ branches : [ "master" ]
9
9
pull_request :
10
- branches : [ "master", "develop" ]
10
+ branches : [ "master" ]
11
11
12
12
jobs :
13
13
build :
@@ -25,10 +25,16 @@ jobs:
25
25
uses : actions/setup-node@v3
26
26
with :
27
27
node-version : ${{ matrix.node-version }}
28
- cache : ' npm'
28
+ cache : " npm"
29
29
- run : npm install
30
30
- run : npm run build
31
31
- run : npm test
32
32
- run : sudo apt-get install xvfb
33
33
- run : xvfb-run --auto-servernum npm run test:chrome
34
34
- 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
24
24
* [ React Native] ( https://en.wikipedia.org/wiki/React_Native )
25
25
26
26
## 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 )
28
28
29
29
#### Documentation
30
30
- https://jsdoc.app/about-commandline.html
Original file line number Diff line number Diff line change 1
1
PureMVC MultiCore Framework for JavaScript
2
2
--------------------------------------------------------------------------
3
- Release Date: 8/14 /24
3
+ Release Date: 9/4 /24
4
4
Platform: JavaScript
5
5
Version: 2
6
6
Revision: 0
7
- Minor: 7
7
+ Minor: 8
8
8
Authors: Saad Shams <
[email protected] >
9
9
10
10
@@ -17,3 +17,4 @@ Release Date: 8/14/24
17
17
2.0.5 - NPM package borked for cjs
18
18
2.0.6 - NPM package bundling the ESM/CommonJS support
19
19
2.0.7 - Finally? NPM bundling
20
+ 2.0.8 - CI/CD Pipeline
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @puremvc/puremvc-js-multicore-framework" ,
3
- "version" : " 2.0.7 " ,
3
+ "version" : " 2.0.8 " ,
4
4
"description" : " PureMVC MultiCore Framework for JavaScript" ,
5
5
"type" : " module" ,
6
6
"main" : " bin/cjs/index.cjs" ,
11
11
"import" : " ./bin/esm/index.js"
12
12
}
13
13
},
14
- "bin" : {
15
- "puremvc-js-multicore-framework" : " bin/esm/index.js"
16
- },
17
14
"scripts" : {
18
15
"build" : " npm run clean && npm run build:lib" ,
19
16
"build:lib" : " rollup -c build/rollup.conf.mjs" ,
You can’t perform that action at this time.
0 commit comments