add docs release + test workflows #48
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: Run Tests | |
| on: | |
| push: | |
| branches: [ main, feliz_v3.0 ] | |
| pull_request: | |
| branches: [ main, feliz_v3.0 ] | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Setup Node.js and NPM | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Restore .NET tools | |
| run: dotnet tool restore | |
| - name: Install dependencies | |
| run: npm install | |
| - name: run tests | |
| run: dotnet run --project ./build/Build.fsproj test |