mirror of https://github.com/actions/toolkit
Merge branch 'master' into features/core
commit
4090b77772
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"plugins": ["jest", "@typescript-eslint"],
|
||||||
|
"extends": ["plugin:github/es6"],
|
||||||
|
"parser": "@typescript-eslint/parser",
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 9,
|
||||||
|
"sourceType": "module"
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"no-unused-vars": "off",
|
||||||
|
"eslint-comments/no-use": "off",
|
||||||
|
"import/no-namespace": "off",
|
||||||
|
"@typescript-eslint/no-unused-vars": "error"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"node": true,
|
||||||
|
"es6": true,
|
||||||
|
"jest/globals": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
workflow "CI" {
|
workflow "CI" {
|
||||||
on = "push"
|
on = "push"
|
||||||
resolves = ["Format", "Test"]
|
resolves = ["Format", "Lint", "Test"]
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Dependencies" {
|
action "Dependencies" {
|
||||||
|
@ -26,6 +26,12 @@ action "Format" {
|
||||||
args = "run format-check"
|
args = "run format-check"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
action "Lint" {
|
||||||
|
needs = "Dependencies"
|
||||||
|
uses = "actions/npm@v2.0.0"
|
||||||
|
args = "run lint"
|
||||||
|
}
|
||||||
|
|
||||||
action "Test" {
|
action "Test" {
|
||||||
needs = "Compile"
|
needs = "Compile"
|
||||||
uses = "actions/npm@v2.0.0"
|
uses = "actions/npm@v2.0.0"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,8 +4,10 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"build": "lerna run tsc",
|
"build": "lerna run tsc",
|
||||||
|
"check-all": "concurrently \"npm:format-check\" \"npm:lint\" \"npm:test\" \"npm:build -- -- --noEmit\"",
|
||||||
"format": "prettier --write packages/**/*.ts",
|
"format": "prettier --write packages/**/*.ts",
|
||||||
"format-check": "prettier --check packages/**/*.ts",
|
"format-check": "prettier --check packages/**/*.ts",
|
||||||
|
"lint": "eslint packages/*/src/**/*.ts",
|
||||||
"new-package": "scripts/create-package",
|
"new-package": "scripts/create-package",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
|
@ -13,6 +15,11 @@
|
||||||
"@types/jest": "^24.0.11",
|
"@types/jest": "^24.0.11",
|
||||||
"@types/node": "^11.13.5",
|
"@types/node": "^11.13.5",
|
||||||
"@types/signale": "^1.2.1",
|
"@types/signale": "^1.2.1",
|
||||||
|
"@typescript-eslint/parser": "^1.9.0",
|
||||||
|
"concurrently": "^4.1.0",
|
||||||
|
"eslint": "^5.16.0",
|
||||||
|
"eslint-plugin-github": "^2.0.0",
|
||||||
|
"eslint-plugin-jest": "^22.5.1",
|
||||||
"jest": "^24.7.1",
|
"jest": "^24.7.1",
|
||||||
"jest-circus": "^24.7.1",
|
"jest-circus": "^24.7.1",
|
||||||
"lerna": "^3.13.3",
|
"lerna": "^3.13.3",
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
Loading…
Reference in New Issue