Node-Red configuration
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.

tests.yml 766B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: CI tests
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - develop
  7. - release*
  8. pull_request:
  9. jobs:
  10. test:
  11. name: Run tests
  12. runs-on: ubuntu-latest
  13. strategy:
  14. matrix:
  15. # Use the latest version of Node.js, plus the 3 most recent LTS lines
  16. node-version:
  17. - latest
  18. - lts/*
  19. - lts/-1
  20. - lts/-2 # Probably EOL depending on release schedules, but still good to test
  21. steps:
  22. - uses: actions/checkout@v3
  23. - name: Use Node.js ${{ matrix.node-version }}
  24. uses: actions/setup-node@v3
  25. with:
  26. node-version: ${{ matrix.node-version }}
  27. cache: npm
  28. - name: Install dependencies
  29. run: npm ci
  30. - name: Run tests
  31. run: npm test