joystream-node-checks.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name: joystream-node-checks
  2. on:
  3. pull_request:
  4. jobs:
  5. checks:
  6. name: joystream-node checks
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v1
  10. - uses: actions/setup-node@v1
  11. with:
  12. node-version: '14.x'
  13. - uses: technote-space/get-diff-action@v3
  14. with:
  15. PREFIX_FILTER: |
  16. node
  17. runtime-modules
  18. utils/chain-spec-builder
  19. SUFFIX_FILTER: |
  20. .rs
  21. FILES: |
  22. Cargo.lock
  23. Cargo.toml
  24. # TODO: Look for change in source code but no corresponding version bump of runtime or binaries
  25. # - name: Check version modified correctly
  26. # if: env.GIT_DIFF
  27. # This Building natively is not really necessary because we have the docker build which
  28. # hapens in the run-network-tests workflow which is sufficient!
  29. # - name: Build if runtime was modified
  30. # run: |
  31. # ./setup.sh
  32. # yarn cargo-checks
  33. # yarn cargo-build
  34. # if: env.GIT_DIFF