Skip to content

Commit

Permalink
mvp-a11y-gh-actions (#12): rascunho de lighthouse
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed May 21, 2021
1 parent ddb0500 commit 900cbab
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/05-deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @see https://gist.github.com/domenic/ec8b0fc8ab45f39403dd
# @see https://github.com/marketplace/actions/github-pages-action

name: Build
name: Deploy GitHub Pages

on:
push:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/07-lighthouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Veja https://github.com/HXL-CPLP/Auxilium-Humanitarium-API/issues/12

# @TODO: https://www.adrianbolonio.com/en/accessibility-github-actions/

name: Audit live site (lighthouse)
on: push

jobs:
audit:
runs-on: ubuntu-latest
steps:
- name: Audit live URL, https://hapi.etica.ai/
uses: jakejarvis/lighthouse-action@master
with:
url: 'https://hapi.etica.ai/'
- name: Upload results as an artifact
uses: actions/upload-artifact@master
with:
name: report
path: './report'
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ sera completamente ignorada.

### (rascunho) por ser feito

**Importante: criar issue sobre integração com ferramentas de localização,
citando este post aqui https://opensource.com/article/17/6/open-source-localization-tools.**

> TODOs:
> - https://forestry.io/blog/creating-a-multilingual-blog-with-jekyll/
> - https://jekyllcodex.org/without-plugins/
> - http://hamishwillee.github.io/2014/11/13/jekyll-includes-are-functions/
> - https://en.m.wikipedia.org/wiki/Translation_memory
> - https://en.m.wikipedia.org/wiki/Translation_Memory_eXchange
> - https://en.m.wikipedia.org/wiki/OAXAL
Expand All @@ -159,7 +159,24 @@ sera completamente ignorada.
> - Update boostrap
> - https://github.com/twbs/bootstrap/releases/tag/v5.0.1
> - https://github.com/twbs/bootstrap/pull/33709
> - Contribuições
> - https://github.com/all-contributors/all-contributors
> - GitHub actions:
> - https://github.com/actions/cache
> - https://docs.github.com/pt/actions/reference/events-that-trigger-workflows
> - Acessibilidade/Usabilidade
> - https://github.com/jakejarvis/lighthouse-action
> - https://www.adrianbolonio.com/en/accessibility-github-actions/
> - https://github.com/dequelabs/axe-core
> - Ferramentas de tradução/localização
> - http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/index.html
> - https://github.com/translate/translate

<!--
TEMP
-->

<!--
# VSCode
Expand All @@ -178,4 +195,4 @@ sudo gem install rubocop

Na medida do possível sob a lei, as pessoas autoras de
[HXL-CPLP](https://github.com/HXL-CPLP) renunciam todos os direitos autorais e
direitos conexos ou vizinhos a este trabalho para o [domínio público](https://unlicense.org/).
direitos conexos ou vizinhos a este trabalho para o [domínio público](https://unlicense.org/).

0 comments on commit 900cbab

Please sign in to comment.