Skip to content

Commit 5e3ed18

Browse files
committed
update
automated token test
1 parent 8a1ae16 commit 5e3ed18

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.github/workflows/node.js.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,18 @@ jobs:
2929
- run: sudo apt-get install xvfb
3030
- run: xvfb-run --auto-servernum npm run test:chrome
3131
- run: xvfb-run --auto-servernum npm run test:firefox
32+
33+
- name: Publish to npm dry-run
34+
env:
35+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36+
run: |
37+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
38+
npm publish --dry-run
39+
40+
- name: Publish to npm
41+
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
42+
env:
43+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
run: |
45+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
46+
npm publish

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npm i @puremvc/puremvc-js-multicore-framework
2424
* [React Native](https://en.wikipedia.org/wiki/React_Native)
2525

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

2929
#### Documentation
3030
- https://jsdoc.app/about-commandline.html

VERSION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Release Date: 9/4/24
44
Platform: JavaScript
55
Version: 2
66
Revision: 0
7-
Minor: 8
7+
Minor: 9
88
Authors: Saad Shams <saad.shams@puremvc.org>
99
: David Foley <david.foley@puremvc.org>
1010
: Cliff Hall <cliff.hall@puremvc.org>
@@ -18,3 +18,4 @@ Release Date: 9/4/24
1818
2.0.6 - NPM package bundling the ESM/CommonJS support
1919
2.0.7 - Finally? NPM bundling
2020
2.0.8 - CI/CD Pipeline
21+
2.0.9 - CI/CD Integrating Automated Tokens

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@puremvc/puremvc-js-multicore-framework",
3-
"version": "2.0.8",
3+
"version": "2.0.9",
44
"description": "PureMVC MultiCore Framework for JavaScript",
55
"type": "module",
66
"main": "bin/cjs/index.cjs",

0 commit comments

Comments
 (0)