al-quran.reflectslight.io/.github/workflows/al-quran.yml

44 lines
934 B
YAML
Raw Normal View History

2023-01-05 23:11:57 +01:00
name: The Quran
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
2023-03-10 12:55:39 +01:00
env:
SASS_PATH: ./src/css/
jobs:
2023-01-05 04:20:47 +01:00
lint:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v2
- name: Prepare environment
uses: './.github/actions/prepare-env'
- name: eslint
2023-07-25 19:25:26 +02:00
run: npm exec eslint -- src/js/
- name: rubocop
2023-07-25 19:25:26 +02:00
run: bundle exec rubocop
2023-07-13 18:38:43 +02:00
prettier:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v2
- name: Prepare environment
uses: './.github/actions/prepare-env'
- name: prettier
2023-07-25 19:25:26 +02:00
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
2024-05-17 07:58:19 +02:00
run: rake nanoc:build