chore(deps): bump focus-trap from 6.7.1 to 7.6.2 #926
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: openapi-diff | |
on: | |
pull_request: | |
jobs: | |
check-diff: | |
name: build api | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 90 | |
strategy: | |
matrix: | |
python-version: [3.8.12] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# Avoid codecov error message related to SHA resolution: | |
# https://github.com/codecov/codecov-bash/blob/7100762afbc822b91806a6574658129fe0d23a7d/codecov#L891 | |
fetch-depth: '2' | |
- name: Check for python file changes | |
uses: getsentry/paths-filter@v2 | |
id: changes | |
with: | |
token: ${{ github.token }} | |
filters: .github/file-filters.yml | |
- name: Setup sentry env (python ${{ matrix.python-version }}) | |
uses: ./.github/actions/setup-sentry | |
if: steps.changes.outputs.api_docs == 'true' | |
id: setup | |
with: | |
python-version: ${{ matrix.python-version }} | |
pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }} | |
- name: Checkout getsentry/sentry-api-schema | |
uses: actions/checkout@v2 | |
if: steps.changes.outputs.api_docs == 'true' | |
with: | |
ref: 'main' | |
repository: getsentry/sentry-api-schema | |
path: sentry-api-schema | |
- name: Install/setup node | |
if: steps.changes.outputs.api_docs == 'true' | |
uses: volta-cli/action@v1 | |
- name: Build OpenAPI Derefed JSON | |
if: steps.changes.outputs.api_docs == 'true' | |
# install ts-node for ts build scripts to execute properly without potentially installing | |
# conflicting deps when running scripts locally | |
# see: https://github.com/getsentry/sentry/pull/32328/files | |
run: | | |
yarn add ts-node && make build-api-docs | |
- name: Compare OpenAPI Derefed JSON | |
if: steps.changes.outputs.api_docs == 'true' | |
run: | | |
npx [email protected] --color sentry-api-schema/openapi-derefed.json tests/apidocs/openapi-derefed.json |