al-quran.reflectslight.io/.github/workflows/al-quran.yml
2023-07-25 14:23:51 -03:00

41 lines
858 B
YAML

name: The Quran
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
SASS_PATH: ./src/css/
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v2
- name: Prepare environment
uses: './.github/actions/prepare-env'
- name: eslint
run: npm run eslint
- name: rubocop
run: bundle exec rake linter: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 run prettier
build:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v2
- name: Prepare environment
uses: './.github/actions/prepare-env'
- name: nanoc
run: bundle exec rake build