Skip to content

minor adjustments (#27) #2

minor adjustments (#27)

minor adjustments (#27) #2

Workflow file for this run

---
name: Release 🎈
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
release:
name: Create release πŸŽ‰
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
permissions:
contents: write
r-cmd:
name: R CMD Check 🧬
needs: [release, docs]
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
additional-r-cmd-check-params: --as-cran
coverage:
name: Coverage πŸ“”
needs: [release, docs]
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build package 🎁
needs: release
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
skip-r-cmd-check: true
skip-r-cmd-install: true
docs:
name: Pkgdown Docs πŸ“š
needs: release
uses: insightsengineering/r.pkg.template/.github/workflows/pkgdown.yaml@main
with:
refs-order: c("latest-tag", "main")
default-landing-page: latest-tag
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}