[docs] add mops docs generate and mops docs coverage commands doc…
#154
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build CLI and print hash | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, ubuntu-24.04] | |
| runs-on: ${{ matrix.os }} | |
| name: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build using Docker | |
| run: | | |
| # MOPS_VERSION=$(cd cli && npm pkg get version | tr -d \") | |
| # echo MOPS_VERSION=$MOPS_VERSION | |
| # if [ -z "$MOPS_VERSION" ]; then | |
| # echo "MOPS_VERSION is empty" | |
| # exit 1 | |
| # fi | |
| MOPS_VERSION=0.0.0 | |
| cd cli | |
| docker build . --build-arg COMMIT_HASH=${{ github.sha }} --build-arg MOPS_VERSION=$MOPS_VERSION -t mops | |
| docker run --rm mops || echo "." |