Skip to content

Commit

Permalink
fix: add linting before build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed Feb 2, 2021
1 parent b247285 commit 4730836
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ jobs:
- name: Build
run: |
npm install
npm run lint
npm run build
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
run: |
cd /home/runner/work/purifier-card/purifier-card
npm install
npm run lint
npm run build
- name: Release
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"description": "Air Purifier card for Home Assistant Lovelace UI",
"main": "dist/purifier-card.js",
"scripts": {
"postpublish": "git push --follow-tags",
"start": "rollup -c --watch",
"compile": "rollup -c",
"lint": "eslint src",
Expand Down

0 comments on commit 4730836

Please sign in to comment.