[TEST] Sync of feature/v3/jcl on v3.x/staging #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ZWE Message Analysis | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
workflow_dispatch: | |
env: | |
ZWE_MESSAGE_CHECKS_DIR: .dependency/zwe_message_checks | |
jobs: | |
run-tests: | |
name: Run the ZWE Message Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up git | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Zowe Robot" | |
git config --global pull.rebase false # configure to merge in changes from remote branches | |
- name: Prepare node project | |
working-directory: ${{ env.ZWE_MESSAGE_CHECKS_DIR }} | |
run: npm install | |
- name: Check zwe messages for issues and print them to the log | |
id: duplicates | |
run: node ${{ env.ZWE_MESSAGE_CHECKS_DIR }}/index.js |