-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test github action - (DO NOT COMMIT)
- Loading branch information
1 parent
ee4d6fc
commit 9043f36
Showing
10 changed files
with
240,726 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
lib/** | ||
node_modules/** | ||
!node_modules/@salesforce/dev-config/tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:sf-plugin/migration" | ||
], | ||
"parserOptions": { | ||
parserOptions: { | ||
"sourceType": "module", | ||
"ecmaVersion": 2018, | ||
"project": "./tsconfig.json" | ||
"project": "./tsconfig.json", | ||
"tsconfigRootDir": __dirname | ||
}, | ||
"plugins": [ | ||
plugins: [ | ||
"@typescript-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: gha-test | ||
on: | ||
workflow_call: | ||
|
||
pull_request: | ||
types: [edited, opened, reopened, synchronize] | ||
|
||
jobs: | ||
do_the_thing: | ||
runs-on: ubuntu-latest | ||
name: Test the new actions | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=4096" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'lts/*' # Always use Node LTS for building dependencies. | ||
- run: yarn | ||
- uses: rmohan20/code-analyzer-action@main | ||
with: | ||
render-results: false | ||
runtype: simple | ||
engine: eslint-typescript | ||
target: "./src/**/*.ts" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.