Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ jobs:
- name: '[Prep 1] Checkout'
uses: actions/checkout@v2

- name: '[Prep 2] Cache node modules'
- name: '[Prep 2] Validate package.json'
uses: zowe-actions/shared-actions/validate-package-json@main

- name: '[Prep 3] Cache node modules'
uses: actions/cache@v3
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
Expand All @@ -136,17 +139,17 @@ jobs:
key: ${{ runner.os }}-build-cache-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-cache-node-modules-
- name: '[Prep 3] Setup Node'
- name: '[Prep 4] Setup Node'
uses: actions/setup-node@v2
with:
node-version: 16.20.2

- name: '[Prep 4] Setup jFrog CLI'
- name: '[Prep 5] Setup jFrog CLI'
uses: jfrog/setup-jfrog-cli@v2
env:
JF_ARTIFACTORY_1: ${{ secrets.JF_ARTIFACTORY_TOKEN }}

- name: '[Prep 5] prepare workflow'
- name: '[Prep 6] prepare workflow'
uses: zowe-actions/zlux-builds/plugins/prepare-workflow@v3.x/main
with:
github-user: ${{ secrets.ZOWE_ROBOT_USER }}
Expand All @@ -156,28 +159,28 @@ jobs:
release: ${{ github.event.inputs.PERFORM_RELEASE }}
plugin-version: ${{ github.event.inputs.BUILD_VERSION }}

- name: '[Prep 6] build'
- name: '[Prep 7] build'
uses: zowe-actions/zlux-builds/plugins/zlux-plugins@v3.x/main
with:
build-zss: false

- name: '[Prep 7] packaging'
- name: '[Prep 8] packaging'
uses: zowe-actions/zlux-builds/plugins/make-pax@v3.x/main
with:
pax-ssh-username: ${{ secrets.SSH_MARIST_USERNAME }}
pax-ssh-password: ${{ secrets.SSH_MARIST_RACF_PASSWORD }}
pax-name: sample-react-app

- name: '[Prep 8] deploy '
- name: '[Prep 9] deploy '
uses: zowe-actions/zlux-builds/plugins/deploy-pax@v3.x/main

- name: '[Prep 9] Bump Staging Version '
- name: '[Prep 10] Bump Staging Version '
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/bump-version@v3.x/main
env:
GITHUB_TOKEN: ${{ secrets.ZOWE_ROBOT_TOKEN }}

- name: '[Prep 10] NodeJS project setup'
- name: '[Prep 11] NodeJS project setup'
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/npm-setup@v3.x/main
with:
Expand All @@ -190,6 +193,6 @@ jobs:
publish-registry-username: ${{ secrets.NPM_PRIVATE_REGISTRY_USERNAME }}
publish-registry-password: ${{ secrets.NPM_PRIVATE_REGISTRY_PASSWORD }}

- name: '[Prep 11] Publish NPM Package '
- name: '[Prep 12] Publish NPM Package '
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/npm-publish@v3.x/main
52 changes: 26 additions & 26 deletions webClient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,39 @@
"description": "A sample react showcasing react framework in Zowe App Framework",
"license": "EPL-2.0",
"dependencies": {
"i18next": "~15.1.0",
"i18next-browser-languagedetector": "~3.0.1",
"i18next-xhr-backend": "~2.0.1",
"react": "~16.8.6",
"react-dom": "~16.8.6",
"react-i18next": "~10.9.0",
"react-router": "~4.3.1",
"i18next": "15.1.3",
"i18next-browser-languagedetector": "3.0.3",
"i18next-xhr-backend": "2.0.1",
"react": "16.8.6",
"react-dom": "16.8.6",
"react-i18next": "10.9.1",
"react-router": "4.3.1",
"react-scripts": "4.0.3"
},
"scripts": {
"start": "NODE_OPTIONS=--openssl-legacy-provider webpack --progress --colors --watch",
"build": "NODE_OPTIONS=--openssl-legacy-provider webpack --progress --colors",
"eject": "react-scripts eject",
"test": "exit 0"
"test": "exit 0"
},
"devDependencies": {
"@types/jest": "~23.0.2",
"@types/react": "~16.3.18",
"@types/react-dom": "~16.0.11",
"copy-webpack-plugin": "~5.1.2",
"css-loader": "~3.6.0",
"exports-loader": "~0.7.0",
"file-loader": "~4.3.0",
"handlebars": "~4.7.7",
"html-loader": "~0.5.5",
"script-loader": "~0.7.2",
"source-map-loader": "~1.1.3",
"ts-loader": "~8.3.0",
"tslint": "~5.10.0",
"typescript": "~4.2.0",
"url-loader": "~2.3.0",
"webpack": "~4.41.6",
"webpack-cli": "^3.3.12",
"webpack-config": "~7.5.0"
"@types/jest": "23.0.2",
"@types/react": "16.3.18",
"@types/react-dom": "16.0.11",
"copy-webpack-plugin": "5.1.2",
"css-loader": "3.6.0",
"exports-loader": "0.7.0",
"file-loader": "4.3.0",
"handlebars": "4.7.7",
"html-loader": "0.5.5",
"script-loader": "0.7.2",
"source-map-loader": "1.1.3",
"ts-loader": "8.3.0",
"tslint": "5.10.0",
"typescript": "4.2.4",
"url-loader": "2.3.0",
"webpack": "4.41.6",
"webpack-cli": "3.3.12",
"webpack-config": "7.5.0"
}
}
Loading