Merge pull request #267 from Gh61/dependabot/npm_and_yarn/rollup/plug… #567
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: Validation | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⏬ Checkout | |
uses: actions/checkout@v4 | |
- name: ⚙️ Install Node | |
uses: actions/setup-node@v4 | |
- name: 📦 Install modules | |
run: npm ci | |
- name: 🖊️ Linter | |
run: npm run lint | |
- name: 🔨 Build | |
run: npm run rollup | |
- name: 🥼 Tests | |
run: npm run test | |
- name: 👁️ HACS validation | |
uses: hacs/action@22.5.0 | |
with: | |
category: 'plugin' | |
if: github.event_name != 'pull_request' |