Skip to content

Bump @arethetypeswrong/cli from 0.17.1 to 0.17.2 (#361) #917

Bump @arethetypeswrong/cli from 0.17.1 to 0.17.2 (#361)

Bump @arethetypeswrong/cli from 0.17.1 to 0.17.2 (#361) #917

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