Add prettier GitHub action
This commit is contained in:
parent
5a4f0fd92e
commit
850d2019ce
1 changed files with 9 additions and 0 deletions
9
.github/workflows/al-quran.yml
vendored
9
.github/workflows/al-quran.yml
vendored
|
@ -21,6 +21,15 @@ jobs:
|
|||
run: bundle exec rake lint:eslint
|
||||
- name: rubocop
|
||||
run: bundle exec rake lint:rubocop
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone
|
||||
uses: actions/checkout@v2
|
||||
- name: Prepare environment
|
||||
uses: './.github/actions/prepare-env'
|
||||
- name: prettier
|
||||
run: npm exec prettier -- --check src/js/
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue