chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 #317
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: Admin Portal - Build and Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ansible_ai_connect_admin_portal/** | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ansible_ai_connect_admin_portal/** | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| env: | |
| WORKING_DIRECTORY: ./ansible_ai_connect_admin_portal | |
| steps: | |
| - name: Checkout commit | |
| uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '21.x' | |
| cache: 'npm' | |
| cache-dependency-path: ${{env.WORKING_DIRECTORY}}/package-lock.json | |
| - name: Install Dependencies | |
| run: npm ci | |
| working-directory: ${{env.WORKING_DIRECTORY}} | |
| - name: Compile | |
| run: npm run build | |
| working-directory: ${{env.WORKING_DIRECTORY}} | |
| - name: Run linter | |
| run: npm run lint | |
| working-directory: ${{env.WORKING_DIRECTORY}} |