Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ci.yml 679B

1234567891011121314151617181920212223
  1. name: Simple CI
  2. on: [pull_request]
  3. jobs:
  4. run-ci:
  5. name: Build Frontend
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v2
  9. - uses: actions/setup-node@v1
  10. with:
  11. node-version: '16.x'
  12. - run: npm install
  13. - name: Check git status
  14. run: git status
  15. - name: Normalize lang files to ensure sorted
  16. run: npm run lang-sort
  17. - name: Check if the git repository is clean
  18. run: $(exit $(git status --porcelain --untracked-files=no | head -255 | wc -l)) || (echo "Dirty git tree"; git diff; exit 1)
  19. - run: npm run lint
  20. - run: for file in lang/*.json; do npx --yes jsonlint -q $file || exit 1; done
  21. - run: make