feat: add option to create outgoing payment from incoming payment #441
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
on: | |
push: | |
branches: | |
- '!main' | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
name: PR Checks | |
jobs: | |
checkout: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/env-setup | |
- run: pnpm checks | |
openapi: | |
runs-on: ubuntu-latest | |
needs: checkout | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/env-setup | |
- run: pnpm --filter openapi test | |
open-payments: | |
runs-on: ubuntu-latest | |
needs: checkout | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/env-setup | |
- name: Generate open-payments types | |
run: pnpm --filter open-payments generate:types | |
- name: Check for newly generated open-payments types | |
uses: tj-actions/verify-changed-files@v17 | |
id: verify-changed-files | |
with: | |
files: | | |
packages/open-payments/**/generated/*.ts | |
- name: Fail if missing new open-payments types | |
if: steps.verify-changed-files.outputs.files_changed == 'true' | |
run: exit 1 | |
- run: pnpm --filter open-payments build | |
- run: pnpm --filter open-payments test | |
http-signature-utils: | |
runs-on: ubuntu-latest | |
needs: checkout | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/env-setup | |
- run: pnpm --filter http-signature-utils test | |
all-pr-checks-passed: | |
runs-on: ubuntu-latest | |
needs: | |
- openapi | |
- open-payments | |
- http-signature-utils | |
steps: | |
- run: echo 'PR Checks Passed' |