Skip to content

Commit

Permalink
ci: add check_pkgdown step to check job
Browse files Browse the repository at this point in the history
This will help catch pkgdown issues when they are introduced rather
than when the site is built on release.
  • Loading branch information
kyleam committed Dec 19, 2024
1 parent ab01b6a commit a0647ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ jobs:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
extra-packages: |
any::pkgdown
any::rcmdcheck
upgrade: 'TRUE'
- name: Install pdflatex
shell: bash
run: sudo apt-get install texlive-latex-base texlive-fonts-extra
- uses: r-lib/actions/check-r-package@v2
- name: Check pkgdown
shell: Rscript {0}
run: pkgdown::check_pkgdown()
release:
if: github.ref_type == 'tag'
name: Upload release
Expand Down

0 comments on commit a0647ca

Please sign in to comment.