Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
automated token test
  • Loading branch information
saadshams committed Sep 13, 2024
1 parent 8a1ae16 commit 5e3ed18
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,18 @@ jobs:
- 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 dry-run
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish --dry-run
- name: Publish to npm
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
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 i @puremvc/puremvc-js-multicore-framework
* [React Native](https://en.wikipedia.org/wiki/React_Native)

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

#### Documentation
- https://jsdoc.app/about-commandline.html
Expand Down
3 changes: 2 additions & 1 deletion VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Release Date: 9/4/24
Platform: JavaScript
Version: 2
Revision: 0
Minor: 8
Minor: 9
Authors: Saad Shams <[email protected]>
: David Foley <[email protected]>
: Cliff Hall <[email protected]>
Expand All @@ -18,3 +18,4 @@ Release Date: 9/4/24
2.0.6 - NPM package bundling the ESM/CommonJS support
2.0.7 - Finally? NPM bundling
2.0.8 - CI/CD Pipeline
2.0.9 - CI/CD Integrating Automated Tokens
2 changes: 1 addition & 1 deletion 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.8",
"version": "2.0.9",
"description": "PureMVC MultiCore Framework for JavaScript",
"type": "module",
"main": "bin/cjs/index.cjs",
Expand Down

0 comments on commit 5e3ed18

Please sign in to comment.