Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Integrate Dev Proxy into your GitHub Action workflows! #1315

Discussion options

We've just released a collection of actions to the marketplace making it easy to integrate Dev Proxy into your CI/CD pipelines.

Marketplace: https://github.com/marketplace/actions/dev-proxy-actions

Example usage

name: Example Dev Proxy workflow
on:
 workflow_dispatch:
jobs:
 example-dev-proxy:
 name: Example Dev Proxy Job
 runs-on: ubuntu-latest
 steps:
 - name: Intall Dev Proxy
 id: install-latest
 uses: dev-proxy-tools/actions/install@v1
 - name: Start Dev Proxy
 id: start-devproxy
 uses: dev-proxy-tools/actions/start@v1
 - name: Start recording
 id: start-recording
 uses: dev-proxy-tools/actions/record-start@v1
 - name: Send request
 id: send-request
 run: |
 curl -ikx http://127.0.0.1:8000 https://jsonplaceholder.typicode.com/posts

 - name: Stop recording
 id: stop-recording
 uses: dev-proxy-tools/actions/record-stop@v1
 - name: Show logs
 run: |
 echo "Dev Proxy logs:"
 cat devproxy.log
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /