Skip to content

update GHA workflows for node20 #9

update GHA workflows for node20

update GHA workflows for node20 #9

on:
push:
branches:
- master
- development
pull_request:
branches:
- master
- development
name: test-coverage
jobs:
test-coverage:
if: "!contains(github.event.commits[0].message, '[skip-ci]')"
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@master
with:
use-public-rspm: true
- uses: r-lib/actions/setup-pandoc@master
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::covr
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}