Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ci.yml 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: CI
  2. on:
  3. push:
  4. branches:
  5. - master
  6. tags:
  7. - v[0-9]+.[0-9]+.[0-9]+*
  8. pull_request:
  9. jobs:
  10. test:
  11. runs-on: ${{ matrix.os }}
  12. strategy:
  13. matrix:
  14. os: [windows-latest, macOS-latest, ubuntu-latest]
  15. node-version: [8.x, 10.x, 12.x]
  16. steps:
  17. - name: Fix git checkout line endings
  18. run: git config --global core.autocrlf input
  19. - uses: actions/checkout@v1
  20. - name: Setup Node.js
  21. uses: actions/setup-node@v1
  22. with:
  23. node-version: ${{ matrix.node-version }}
  24. - name: Cache node_modules
  25. uses: actions/cache@v1
  26. with:
  27. path: node_modules
  28. key: ${{ runner.OS }}-build-${{ hashFiles('**/package.json') }}
  29. restore-keys: |
  30. ${{ runner.OS }}-build-${{ env.cache-name }}-
  31. ${{ runner.OS }}-build-
  32. ${{ runner.OS }}-
  33. - name: Install
  34. run: npm install
  35. - name: Lint
  36. run: npm run lint
  37. - name: Testsuite
  38. run: npm run coverage
  39. - name: Test TypeScript definition
  40. run: npm run tsd
  41. - name: Codecov
  42. run: npm run codecov
  43. env:
  44. CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}