Skip to content

Commit

Permalink
Split docs build for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed May 22, 2024
1 parent c1ff735 commit 6f0bd11
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pull-request-docs.yml
Original file line number Diff line number Diff line change
@@ -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
24 changes: 0 additions & 24 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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

0 comments on commit 6f0bd11

Please sign in to comment.