Skip to content

GC-1725: Fixed regex for signature url (#468) #2008

GC-1725: Fixed regex for signature url (#468)

GC-1725: Fixed regex for signature url (#468) #2008

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- deployment
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: am I pretty?
shell: bash
run: |
set -x
npm i prettier
npm run pretty
- name: integration tests
shell: bash
run: |
npm run docsTest
- name: run spectral
uses: stoplightio/spectral-action@latest
with:
file_glob: "./lob-api-public.yml"
repo_token: ${{ github.token }}
event_name: ${{ github.event_name }}
- name: run contract tests
uses: ./actions/contract_tests
continue-on-error: true
env:
LOB_API_TEST_TOKEN: ${{ secrets.LOB_API_TEST_TOKEN }}
LOB_API_LIVE_TOKEN: ${{ secrets.LOB_API_LIVE_TOKEN }}
- name: invoke build
if: ${{ github.ref == 'refs/heads/main' }}
uses: benc-uk/[email protected]
with:
workflow: CD
token: ${{ secrets.WORKFLOW_TOKEN }}