Run postman collection #147
This file contains hidden or 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: Run postman collection | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * *" # Runs every day at midnight UTC | |
| jobs: | |
| run-postman-collection: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install Newman | |
| run: npm install -g newman | |
| - name: Run Postman Collection | |
| run: newman run ./postman/Validate\ Relationship\ Service\ Sandbox.postman_collection.json |