Skip to content

Commit 8ec5c58

Browse files
Merge pull request #29 from InVisionApp/develop
patch: bumped ncc and fixed tsconfig to work with it
2 parents f0dee64 + c79e4dc commit 8ec5c58

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@types/yaml": "^1.2.0",
4040
"@typescript-eslint/eslint-plugin": "^2.19.2",
4141
"@typescript-eslint/parser": "^2.19.2",
42-
"@zeit/ncc": "^0.20.5",
42+
"@zeit/ncc": "^0.21.1",
4343
"eslint": "^6.8.0",
4444
"eslint-config-prettier": "^6.10.0",
4545
"eslint-config-standard": "^14.1.0",

src/__tests__/action.spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as exec from '@actions/exec';
22
import * as core from '@actions/core';
33
import { readFileSync } from 'fs';
4-
import * as yaml from 'yaml';
54
import { runAction, setInputs } from '../action';
65

76
const mainLocation = `test-main/index.js`;
@@ -213,7 +212,6 @@ describe('setInputs', () => {
213212
});
214213

215214
test('omitted input that is optional with a default is handled properly', async () => {
216-
const name = 'test_input';
217215
const input = 'INPUT_TEST_INPUT';
218216
delete process.env[input];
219217

@@ -235,7 +233,6 @@ describe('setInputs', () => {
235233
});
236234

237235
test('omitted input that is required with a default is handled properly', async () => {
238-
const name = 'test_input';
239236
const input = 'INPUT_TEST_INPUT';
240237
delete process.env[input];
241238

tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@
1111

1212
/* Advanced Options */
1313
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
14-
}
14+
},
15+
"exclude": [
16+
"**/__tests__",
17+
"**/__mocks__",
18+
]
1519
}

0 commit comments

Comments
 (0)