Skip to content

build(deps-dev): bump @types/node from 25.5.0 to 25.5.1 #8943

build(deps-dev): bump @types/node from 25.5.0 to 25.5.1

build(deps-dev): bump @types/node from 25.5.0 to 25.5.1 #8943

Workflow file for this run

name: RPS API Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: docker build -f Dockerfile -t rps:${GITHUB_SHA} .
- run: docker compose up -d
- name: Let Docker Spin up
run: sleep 5
- name: Run RPS API Tests
run: docker run --network=host -v /home/runner/work/rps/rps/src/test/collections/:/collections -v /home/runner/work/mps/mps/src/test/results/:/results postman/newman:5.3-alpine run /collections/rps.postman_collection.json -e /collections/rps.postman_environment.json --insecure --reporters cli,json,junit --reporter-json-export /results/rps_api_results.json --reporter-junit-export /results/rps_api_results_junit.xml
- name: Run RPS Security Tests
run: docker run --network=host -v /home/runner/work/rps/rps/src/test/collections/:/collections -v /home/runner/work/mps/mps/src/test/results/:/results postman/newman run /collections/rps_security_api_test.postman_collection.json -e /collections/rps.postman_environment.json -d /collections/data/rps_security_api_test.data.json --insecure --reporters cli,json,junit --reporter-json-export /results/rps_api_security_results.json --reporter-junit-export /results/rps_api_security_results_junit.xml
# - name: Dump docker logs on failure
# if: failure()
# uses: jwalton/gh-docker-logs@v2
- name: Upload Postman Results
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: rps-api
path: /home/runner/work/mps/mps/src/test/results