Makes prettier async in code quality file #3429
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
on: | |
push: | |
branches: | |
- '**' | |
paths: | |
- 'container/**' | |
pull_request: | |
branches: | |
- 'main' | |
name: Code Analysis | |
jobs: | |
container_linting: | |
name: Container Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.14.0' | |
- name: Install and lint | |
working-directory: ./container | |
run: npm i && npm run lint || exit 1 | |