Skip to content

chore: helpful linting failure message #6762

chore: helpful linting failure message

chore: helpful linting failure message #6762

Workflow file for this run

name: ci
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
- esds-3.0-vue3-primevue
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
- name: Get nodenv version πŸ”Œ
id: nodenv
shell: bash
run: echo "node-version=$(cat .node-version)" >> $GITHUB_OUTPUT
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
node-version: '${{ steps.nodenv.outputs.node-version }}'
check-latest: true
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: |
make install
make symlink
- name: Building
run: make build
- name: Run linter πŸ‘€
id: linting
run: make lint
- name: Linting failed. Run make format to apply automatic fixes and show remaining problems.
if: ${{ failure() && steps.linting.conclusion == 'failure' }}
- name: Run tests πŸ§ͺ
run: make test