on: push: branches: - main pull_request: branches: - main name: CHECK jobs: bookdown: name: CHECK runs-on: macOS-latest steps: - uses: actions/checkout@v1 - uses: r-lib/actions/setup-r@v1 - uses: r-lib/actions/setup-pandoc@v1 - name: Install rmarkdown run: Rscript -e 'install.packages(c("rmarkdown","bookdown", "ggplot2", "lattice", "XML"))' - name: Render Book run: Rscript -e 'bookdown::render_book("index.Rmd")'