-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
52,876 additions
and
19,190 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,12 @@ | ||
let originalEnv: NodeJS.ProcessEnv | ||
|
||
beforeAll(() => { | ||
// Store the original environment | ||
originalEnv = {...process.env} | ||
}) | ||
|
||
// beforeEach(() => {}) | ||
|
||
afterAll(() => { | ||
process.env = originalEnv | ||
}) |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"build": "ncc build src/index.ts", | ||
"prestart": "npm run build", | ||
"start": "node dist/index.js", | ||
"test": "jest", | ||
"test": "GITHUB_ACTION=1 INPUT_GITHUB_TOKEN='secret123' jest", | ||
"lint": "eslint --ext .ts src", | ||
"lint:fix": "eslint --fix --ext .ts src", | ||
"lint:report": "eslint --ext .ts --output-file eslint_report.json --format json src" | ||
|
@@ -18,20 +18,21 @@ | |
"url": "git+https://github.com/ataylorme/eslint-annotate-action.git" | ||
}, | ||
"keywords": [], | ||
"author": "Andrew Taylor <[email protected]>", | ||
"author": "Andrew Taylor <[email protected]>", | ||
"bugs": { | ||
"url": "https://github.com/ataylorme/eslint-annotate-action/issues" | ||
}, | ||
"homepage": "https://github.com/ataylorme/eslint-annotate-action#readme", | ||
"dependencies": { | ||
"@actions/core": "^1.10.0", | ||
"@actions/github": "^6.0.0", | ||
"@actions/glob": "^0.4.0", | ||
"@octokit/action": "^6.0.7", | ||
"actions-toolkit": "^6.0.1", | ||
"dotenv": "^16.0.3" | ||
}, | ||
"devDependencies": { | ||
"@octokit/webhooks-definitions": "^3.67.0", | ||
"@types/eslint": "^8.56.2", | ||
"@types/jest": "^29.5.0", | ||
"@types/node": "^18.15.5", | ||
"@typescript-eslint/eslint-plugin": "^5.56.0", | ||
|
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
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
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
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
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
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