Add absolute canonical / alternate links #614
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: 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 exec eslint -- src/js/ | |
- name: rubocop | |
run: bundle exec 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: | |
- name: Clone | |
uses: actions/checkout@v2 | |
- name: Prepare environment | |
uses: './.github/actions/prepare-env' | |
- name: Add HTMLTidy | |
run: sudo apt-get install tidy | |
- name: nanoc | |
run: bundle exec rake build |