chore: linting failure message #6758
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: | |
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 |