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

42 lines
878 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: nanoc
2023-03-21 07:36:29 +01:00
run: bundle exec rake build