Skip to content

Bump @types/node from 22.9.3 to 22.10.0 (#346) #875

Bump @types/node from 22.9.3 to 22.10.0 (#346)

Bump @types/node from 22.9.3 to 22.10.0 (#346) #875

name: AsyncAPI Validation
on:
push:
branches: [ main, v1 ]
pull_request:
branches: [ main, v1 ]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Get yarn cache dir
id: yarnCache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-yarn
with:
path: ${{ steps.yarnCache.outputs.dir }}
key: async-validation-${{ hashFiles('**/yarn.lock') }}
- name: Installing unreasonably large package
run: yarn global add @asyncapi/cli
- name: Validate
run: asyncapi validate ./example/example-documentation.yaml