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 998B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. build:
  11. runs-on: ${{ matrix.os }}
  12. strategy:
  13. matrix:
  14. os: [ubuntu-latest, windows-latest, macOS-latest]
  15. node-version: [12.x]
  16. steps:
  17. - name: Fix git checkout line endings
  18. run: git config --global core.autocrlf input
  19. - uses: actions/checkout@v2
  20. - name: Setup Node.js
  21. uses: actions/setup-node@v1
  22. with:
  23. node-version: ${{ matrix.node-version }}
  24. - name: Get npm cache directory
  25. id: npm-cache
  26. run: |
  27. echo "::set-output name=dir::$(npm config get cache)"
  28. - uses: actions/cache@v1
  29. with:
  30. path: ${{ steps.npm-cache.outputs.dir }}
  31. key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
  32. restore-keys: |
  33. ${{ runner.os }}-node-
  34. - name: Install
  35. run: npm ci
  36. - name: Test
  37. run: npm test