Update pnpm/action-setup action to v6 #1930
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: AsyncAPI Validation | |
| on: | |
| push: | |
| branches: [ main, make-v4 ] | |
| pull_request: | |
| branches: [ main, make-v4 ] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v6 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Installing unreasonably large package | |
| run: pnpm add -g @asyncapi/cli | |
| - name: Validate | |
| run: asyncapi validate ./example/example-documentation.yaml |