From 073c573f1726e5e28057c617b3ed2d933e2422c5 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 29 Apr 2024 16:52:56 -0400 Subject: [PATCH] ci: run check_pkgdown Closes #550. --- .github/workflows/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 00e76e10..c087860b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -74,11 +74,17 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: | + any::pkgdown any::rcmdcheck ${{ env.MRGMISC_PKG }} ${{ env.NMREC_PKG }} upgrade: ${{ matrix.config.label == 'oldest' && 'FALSE' || 'TRUE' }} - uses: r-lib/actions/check-r-package@v2 + - name: Check pkgdown + # The pkgdown on MPN 2020-06-08 does not have check_pkgdown(). + if: matrix.config.label != 'oldest' + shell: Rscript {0} + run: pkgdown::check_pkgdown() release: if: github.ref_type == 'tag' name: Upload release