Skip to content

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #1996

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #1996

Workflow file for this run

name: main
on: [push, pull_request]
env:
SCRIPT_DIR: ./.github/scripts
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- name: Run tests
uses: GabrielBB/[email protected]
with:
run: npm run test
build:
runs-on: ubuntu-latest
env:
VSIX_FILE: vscode-R.vsix
steps:
- uses: actions/checkout@v3
- run: node $SCRIPT_DIR/enableWebpack.js
- run: yarn install
- uses: lannonbr/vsce-action@master
with:
args: "package -o $VSIX_FILE"
- uses: actions/upload-artifact@v3
with:
name: ${{ env.VSIX_FILE }}
path: ${{ env.VSIX_FILE }}
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- run: yarn run lint
markdownlint-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nosborn/[email protected]
with:
files: .
config_file: ".markdownlint.json"
ignore_files: "node_modules/*"
lintr:
runs-on: ubuntu-latest
container:
image: rocker/tidyverse:latest
steps:
- uses: actions/checkout@v3
- name: Install apt-get dependencies
run: |
apt-get update
apt-get install git ssh curl bzip2 -y
- name: Install lintr
run: |
Rscript -e "install.packages('lintr', repos = 'https://cloud.r-project.org')"
shell: bash
- name: Running lintr
run: |
Rscript -e "stopifnot(length(print(lintr::lint_dir('./R'))) == 0)"
shell: bash
devreplay:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- name: Run devreplay
run: ./node_modules/.bin/devreplay ./src devreplay.json