Add disconnect command to cleanup #32
Workflow file for this run
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: "Pull Requests" | |
on: | |
pull_request_target: | |
jobs: | |
approve-pr-tests: | |
runs-on: ubuntu-latest | |
environment: | |
name: "Pull Request Tests" | |
steps: | |
- run: "echo 'Execution of tests pending approval'" | |
lint: | |
needs: ["approve-pr-tests"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- run: npm ci | |
- run: npm run lint | |
test: | |
needs: ["approve-pr-tests", "lint"] | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- run: npm ci && npm run build | |
- uses: ./ | |
with: | |
organization: ${{ secrets.CLOUDFLARE_ACCESS_ORGANIZATION }} | |
auth_client_id: ${{ secrets.CLOUDFLARE_ACCESS_CLIENT_ID }} | |
auth_client_secret: ${{ secrets.CLOUDFLARE_ACCESS_CLIENT_SECRET }} | |
- run: wget https://www.google.com |