diff --git a/.github/workflows/pull-request-docs.yml b/.github/workflows/pull-request-docs.yml new file mode 100644 index 000000000..2888925f8 --- /dev/null +++ b/.github/workflows/pull-request-docs.yml @@ -0,0 +1,20 @@ +name: Build and test PRs + +on: + pull_request: + paths: + - docs/** + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v4 + - + name: Build docs + run: | + cd docs + yarn install + yarn build diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 619a0de01..fa1806ee4 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -29,11 +29,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 -# - -# name: Setup .NET -# uses: actions/setup-dotnet@v3 -# with: -# dotnet-version: '8.0' - name: Run tests run: dotnet test -f ${{ matrix.dotnet }} @@ -58,11 +53,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 -# - -# name: Setup .NET -# uses: actions/setup-dotnet@v3 -# with: -# dotnet-version: '8.0' - name: Run tests run: dotnet test -f ${{ matrix.dotnet }} @@ -76,17 +66,3 @@ jobs: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json - - docs: - runs-on: ubuntu-latest - - steps: - - - name: Checkout - uses: actions/checkout@v4 - - - name: Build docs - run: | - cd docs - yarn install - yarn build