Skip to content

Use pkgdown's automatic development mode #91

Use pkgdown's automatic development mode

Use pkgdown's automatic development mode #91

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: R-CMD-check-selenium
jobs:
R-CMD-check:
runs-on: ubuntu-latest
name: ${{ matrix.browser }}
strategy:
fail-fast: false
matrix:
browser: [chrome, firefox]
services:
selenium:
image: selenium/standalone-${{ matrix.browser }}:3.141.0
ports:
- 4444:4444
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
SELENIDER_SESSION: selenium
SELENIDER_BROWSER: ${{ matrix.browser }}
SELENIDER_PORT: 4444
SELENIDER_DOCKER: TRUE
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: 'release'
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true