2022-11-19 21:55:55 +01:00
|
|
|
name: Al-Quran
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
2023-01-05 04:20:47 +01:00
|
|
|
lint:
|
2022-11-19 21:55:55 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Clone
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Prepare environment
|
|
|
|
uses: './.github/actions/prepare-env'
|
|
|
|
- name: eslint
|
2023-01-05 04:20:47 +01:00
|
|
|
run: ruby -S rake lint:eslint
|
2022-11-19 21:55:55 +01:00
|
|
|
- name: rubocop
|
2023-01-05 04:20:47 +01:00
|
|
|
run: ruby -S rake lint:rubocop
|
2022-11-19 21:55:55 +01:00
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Clone
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Prepare environment
|
|
|
|
uses: './.github/actions/prepare-env'
|
|
|
|
- name: nanoc
|
|
|
|
run: ruby -S rake build
|