chore(deps): update devdependencies #548
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: Quality | |
on: pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
changes: | |
name: Check changes | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: read | |
outputs: | |
eslint: ${{ steps.filter.outputs.eslint }} | |
steps: | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
eslint: | |
- 'packages/eslint-plugin/**' | |
- 'example-app/**' | |
eslint-quality: | |
name: Eslint-Plugin Quality | |
needs: changes | |
if: ${{ needs.changes.outputs.eslint == 'true' }} | |
uses: ./.github/workflows/quality-eslint.yml | |
final-check: | |
name: Final Check | |
needs: [eslint-quality] | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check previous jobs status | |
run: | | |
status=$(echo "${{ needs.eslint-quality.result }}" | tr '[:upper:]' '[:lower:]') | |
if [[ "$status" == *"failure"* ]]; then | |
echo "One or more previous jobs failed." | |
exit 1 | |
else | |
echo "All previous jobs succeeded or were skipped." | |
exit 0 | |
fi |