Skip to content
Merged

chore #1598

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 24 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- run: npm install
- name: Run tests
uses: GabrielBB/xvfb-action@v1.0
with:
Expand All @@ -26,11 +26,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: node $SCRIPT_DIR/enableWebpack.js
- run: yarn install
- uses: lannonbr/vsce-action@master
- run: npm install
- uses: lannonbr/vsce-action@4.0.0
with:
args: "package -o $VSIX_FILE"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ env.VSIX_FILE }}
path: ${{ env.VSIX_FILE }}
Expand All @@ -41,8 +41,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- run: yarn run lint
- run: npm install
- run: npm run lint
markdownlint-cli:
runs-on: ubuntu-latest
steps:
Expand All @@ -52,31 +52,33 @@ jobs:
files: .
config_file: ".markdownlint.json"
ignore_files: "node_modules/*"
lintr:
lint:
runs-on: ubuntu-latest
container:
image: rocker/tidyverse:latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Install apt-get dependencies
run: |
apt-get update
apt-get install git ssh curl bzip2 -y
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- 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
run: install.packages("lintr")
shell: Rscript {0}

- name: Lint root directory
run: lintr::lint_dir("./R")
shell: Rscript {0}
env:
LINTR_ERROR_ON_LINT: true
devreplay:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- run: npm install
- name: Run devreplay
run: ./node_modules/.bin/devreplay ./src devreplay.json
6 changes: 3 additions & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: node $SCRIPT_DIR/enableWebpack.js
- run: yarn install
- uses: lannonbr/vsce-action@master
- run: npm install
- uses: lannonbr/vsce-action@4.0.0
with:
args: "package -o $FILE_OUT"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: "${{ env.FILE_OUT }}"
path: "${{ env.FILE_OUT }}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: node $SCRIPT_DIR/enableWebpack.js
- run: yarn install
- uses: lannonbr/vsce-action@master
- run: npm install
- uses: lannonbr/vsce-action@4.0.0
with:
args: "package"
- name: Identify output file # can be retrieved as steps.filenames.outputs.file_out
id: filenames
run: echo "::set-output name=file_out::$(ls | grep "^.*\.vsix$" | head -1)"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.filenames.outputs.file_out }}
path: ${{ steps.filenames.outputs.file_out }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: node $SCRIPT_DIR/enableWebpack.js
- run: yarn install
- run: npm install
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
id: publishToOpenVSX
Expand Down
7 changes: 1 addition & 6 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"GrapeCity.gc-excelviewer",
"ikuyadeu.devreplay",
"DavidAnson.vscode-markdownlint"
]

}
1 change: 0 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"command": "vsce",
"args": [
"package",
"--yarn",
"-o",
"${workspaceFolderBasename}.vsix"
]
Expand Down
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

2 changes: 1 addition & 1 deletion R/.lintr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
linters: linters_with_defaults(
line_length_linter(120),
indentation_linter(4),
cyclocomp_linter = NULL,
return_linter = NULL,
object_name_linter = NULL,
object_usage_linter = NULL)
Loading
Loading