Skip to content

chore(deps): update dependency babel-loader to v9.1.3 #134

chore(deps): update dependency babel-loader to v9.1.3

chore(deps): update dependency babel-loader to v9.1.3 #134

Workflow file for this run

on: push
name: CI
jobs:
main:
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
runs-on: ${{ matrix.config.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 2
needs: check
pak-version: 'devel'
extra-packages: local::. # Necessary to avoid object usage linter errors.
- name: pre-setup Node.js in windows
if: matrix.config.os == 'windows-latest'
run: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: 'yarn'
cache-dependency-path: js/yarn.lock
- name: Install Node.js dependencies
run: yarn install
working-directory: js
- name: R CMD check
uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--as-cran")'
error-on: '"note"'
check-dir: '"check"'
- name: Lint R
if: always()
shell: Rscript {0}
run: |
lints <- lintr::lint_package()
for (lint in lints) print(lint)
quit(status = length(lints) > 0)
- name: Lint Javascript
run: yarn lint
working-directory: js
- name: Spell Check
if : always()
shell: Rscript {0}
run: |
spell_check <- spelling::spell_check_package(use_wordlist = TRUE)
cli::cli_alert_warning("There are {nrow(spell_check)} spelling error{?s}.")
if (nrow(spell_check) > 0) {
print(spell_check)
}
quit(status = nrow(spell_check) > 0)