diff --git a/.github/workflows/pull-request-docs.yml b/.github/workflows/pull-request-docs.yml new file mode 100644 index 000000000..e72831d98 --- /dev/null +++ b/.github/workflows/pull-request-docs.yml @@ -0,0 +1,21 @@ +name: Pull Request + +on: + pull_request: + paths: [src/**/*.ts] + types: [opened, synchronize] + +jobs: + test: + name: Docs Artifact + runs-on: ubuntu-latest + if: github.actor != 'renovate[bot]' || github.actor != 'dependabot[bot]' + steps: + - name: Build Docs + run: yarn build:docs + + - name: Upload Docs + uses: actions/upload-artifact@v3 + with: + name: docs + path: docs diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ffbfa0931..9c73d2564 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -25,6 +25,7 @@ jobs: uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} + id: node uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }}