Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Deployment to npm
removed bin from package.json
  • Loading branch information
saadshams committed Sep 5, 2024
1 parent ff45262 commit e7cf798
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Node.js CI

on:
push:
branches: [ "master", "develop" ]
branches: [ "master" ]
pull_request:
branches: [ "master", "develop" ]
branches: [ "master" ]

jobs:
build:
Expand All @@ -25,10 +25,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: "npm"
- run: npm install
- run: npm run build
- run: npm test
- run: sudo apt-get install xvfb
- run: xvfb-run --auto-servernum npm run test:chrome
- run: xvfb-run --auto-servernum npm run test:firefox

- name: Publish to npm
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install @puremvc/puremvc-js-multicore-framework
* [React Native](https://en.wikipedia.org/wiki/React_Native)

## Status
Production - [Version 2.0.7](https://github.com/PureMVC/puremvc-js-multicore-framework/blob/master/VERSION)
Production - [Version 2.0.8](https://github.com/PureMVC/puremvc-js-multicore-framework/blob/master/VERSION)

#### Documentation
- https://jsdoc.app/about-commandline.html
Expand Down
5 changes: 3 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PureMVC MultiCore Framework for JavaScript
--------------------------------------------------------------------------
Release Date: 8/14/24
Release Date: 9/4/24
Platform: JavaScript
Version: 2
Revision: 0
Minor: 7
Minor: 8
Authors: Saad Shams <[email protected]>
: David Foley <[email protected]>
: Cliff Hall <[email protected]>
Expand All @@ -17,3 +17,4 @@ Release Date: 8/14/24
2.0.5 - NPM package borked for cjs
2.0.6 - NPM package bundling the ESM/CommonJS support
2.0.7 - Finally? NPM bundling
2.0.8 - CI/CD Pipeline
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@puremvc/puremvc-js-multicore-framework",
"version": "2.0.7",
"version": "2.0.8",
"description": "PureMVC MultiCore Framework for JavaScript",
"type": "module",
"main": "bin/cjs/index.cjs",
Expand All @@ -11,9 +11,6 @@
"import": "./bin/esm/index.js"
}
},
"bin": {
"puremvc-js-multicore-framework": "bin/esm/index.js"
},
"scripts": {
"build": "npm run clean && npm run build:lib",
"build:lib": "rollup -c build/rollup.conf.mjs",
Expand Down

0 comments on commit e7cf798

Please sign in to comment.