Merge pull request #490 from avohq/dependabot/npm_and_yarn/cross-spaw… #992
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: CI | |
on: push | |
jobs: | |
build-and-check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x, 20.x, latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install modules | |
run: yarn install --frozen-lockfile --ignore-scripts | |
- name: Build TypeScript | |
run: yarn compile | |
- name: Check linting | |
run: yarn lint | |
- name: Check formatting | |
run: yarn check-format | |
- name: Check avo status | |
run: node cli.js status |