content-metadata.yml 926 B

12345678910111213141516171819202122232425262728
  1. name: content-metadata
  2. on: [pull_request, push]
  3. jobs:
  4. schemas_checks:
  5. name: Checks
  6. runs-on: ubuntu-latest
  7. strategy:
  8. matrix:
  9. node-version: [14.x]
  10. steps:
  11. - uses: actions/checkout@v1
  12. - name: Use Node.js ${{ matrix.node-version }}
  13. uses: actions/setup-node@v1
  14. with:
  15. node-version: ${{ matrix.node-version }}
  16. - name: test protobuf
  17. run: |
  18. # # Install protoc compiler
  19. # sudo apt-get install -y protobuf-compiler
  20. # protoc --version
  21. # # Install documentation plugin
  22. # sudo apt-get install -y golang-go
  23. # go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
  24. yarn install --frozen-lockfile
  25. yarn workspace @joystream/content-metadata-protobuf build:ts
  26. yarn workspace @joystream/content-metadata-protobuf checks --quiet
  27. yarn workspace @joystream/content-metadata-protobuf test