Upgrade deps #178
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: Newman Run | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
paths: [ '!PostmanCollections/**' , '!./github/**' ] | |
pull_request: | |
branches: [ "main", "dev" ] | |
jobs: | |
newman: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Check out repository code and Install | |
uses: actions/checkout@v4 | |
- run: npm install | |
- run: npm run generateoas | |
- run: npm start & npx wait-on http://localhost:3000 | |
- run: npm test |