Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Commit 7c5ac7a

Browse files
add action
1 parent 9288027 commit 7c5ac7a

File tree

6 files changed

+2369
-9
lines changed

6 files changed

+2369
-9
lines changed

.eslintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"env": {
3+
"commonjs": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": "eslint:recommended",
8+
"globals": {
9+
"Atomics": "readonly",
10+
"SharedArrayBuffer": "readonly"
11+
},
12+
"parserOptions": {
13+
"ecmaVersion": 2018
14+
},
15+
"rules": {
16+
"no-console": "off",
17+
"no-empty": [2, { "allowEmptyCatch": true }]
18+
}
19+
}

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "es5",
3+
"printWidth": 100,
4+
"tabWidth": 2,
5+
"semi": false,
6+
"singleQuote": true
7+
}

action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: "Scope for Javascript"
2-
author: "Undefined Labs"
3-
description: "Automatically instruments and runs your tests using the Scope Javascript agent"
1+
name: 'Scope for Javascript'
2+
author: 'Undefined Labs'
3+
description: 'Automatically instruments and runs your tests using the Scope Javascript agent'
44
inputs:
55
command: # command to run your tests
6-
description: "Command to run your tests"
6+
description: 'Command to run your tests'
77
required: false
88
dsn: # scope dsn
9-
description: "Scope DSN"
9+
description: 'Scope DSN'
1010
required: true
1111
runs:
12-
using: "node12"
13-
main: "dist/index.js"
12+
using: 'node12'
13+
main: 'index.js'
1414
branding:
15-
icon: "check-square"
16-
color: "purple"
15+
icon: 'check-square'
16+
color: 'purple'

0 commit comments

Comments
 (0)