chore(deps): bump @readme/openapi-parser from 5.0.1 to 6.1.0 #788
This file contains hidden or 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: PR testing | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| jobs: | |
| test-pr: | |
| name: Test NodeJS PR - ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows | |
| run: | | |
| git config --global core.autocrlf false | |
| git config --global core.eol lf | |
| shell: bash | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check package-lock version | |
| uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master | |
| id: lockversion | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "${{ steps.lockversion.outputs.version }}" | |
| - #npm cli 10 is buggy because of some cache issue | |
| name: Install npm cli 8 | |
| shell: bash | |
| run: npm install -g npm@8.19.4 | |
| - name: Install dependencies | |
| shell: bash | |
| run: npm ci | |
| - name: Build library | |
| shell: bash | |
| run: npm run build | |
| - name: Test | |
| run: npm test | |
| - name: Run release assets generation to make sure PR does not break it | |
| # Must run BEFORE lint so that any prettier reformatting (which the | |
| # release/version-bump workflow performs before opening its PR) is what | |
| # the linter sees. Otherwise a prettier rewrite that introduces a lint | |
| # error only surfaces on the auto-generated release PR — not on the | |
| # original PR — causing a green PR to produce a red release. | |
| shell: bash | |
| run: npm run generate:assets | |
| - if: matrix.os == 'ubuntu-latest' | |
| #linting should run just one and not on all possible operating systems | |
| name: Run linter | |
| run: npm run lint |