Skip to content

Commit f54a676

Browse files
authored
Merge pull request #15 from PureMVC/github-workflow-setup
Prepare for 2.0.10 release
2 parents c1af01f + faf74f9 commit f54a676

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3882
-6080
lines changed

.github/workflows/main.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
pull_request:
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version-file: package.json
20+
cache: npm
21+
22+
# Working around https://github.com/npm/cli/issues/4828
23+
# - run: npm ci
24+
- run: npm install --no-package-lock
25+
26+
- name: Check formatting
27+
run: npm run format:check
28+
29+
- name: Check syntax
30+
run: npm run lint
31+
32+
- name: Run tests
33+
run: npm test
34+
35+
- run: npm run build
36+
37+
publish:
38+
runs-on: ubuntu-latest
39+
if: github.event_name == 'release'
40+
needs: build
41+
42+
permissions:
43+
contents: read
44+
id-token: write
45+
46+
steps:
47+
- uses: actions/checkout@v4
48+
- uses: actions/setup-node@v4
49+
with:
50+
node-version-file: package.json
51+
cache: npm
52+
registry-url: "https://registry.npmjs.org"
53+
54+
# Working around https://github.com/npm/cli/issues/4828
55+
# - run: npm ci
56+
- run: npm install --no-package-lock
57+
58+
- run: npm run build
59+
60+
- run: npm run npm:publish:dry-run
61+
62+
- run: npm run npm:publish

.github/workflows/node.js.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
22
.idea
3+
bin
34
node_modules
4-
build/nightwatch
5+
build/nightwatch

README.md

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

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

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

VERSION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PureMVC MultiCore Framework for JavaScript
22
--------------------------------------------------------------------------
3-
Release Date: 9/4/24
3+
Release Date: 11/25/25
44
Platform: JavaScript
55
Version: 2
66
Revision: 0
7-
Minor: 9
7+
Minor: 10
88
Authors: Saad Shams <[email protected]>
99
: David Foley <[email protected]>
1010
: Cliff Hall <[email protected]>
@@ -19,3 +19,4 @@ Release Date: 9/4/24
1919
2.0.7 - Finally? NPM bundling
2020
2.0.8 - CI/CD Pipeline
2121
2.0.9 - CI/CD Integrating Automated Tokens
22+
2.0.10 -

0 commit comments

Comments
 (0)