Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-07-16 19:37:08 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-07-16 19:39:34 +0300
commitd0bebdf6525933db59308cc33bc5f8a1dcc97dc3 (patch)
treef1592ae84c94b12a20d77605d3b9a038d842e799
parent3d571e697e41aedfba2363d0fb896d7ddbb7c01c (diff)
CI: Fix coveralls
-rw-r--r--.github/workflows/test.yml8
-rw-r--r--package.json7
2 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2dbff35..b55d243 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -77,7 +77,7 @@ jobs:
diff test/fixtures/cli/x-ua-compatible-missing.output.txt x-ua-compatible-missing.output.actual.txt
- name: Run Coveralls
- run: npm run coveralls
- if: matrix.node == 12 && github.repository == 'twbs/bootlint' && github.event_name == 'push'
- env:
- COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
+ uses: coverallsapp/github-action@master
+ if: matrix.node == 12 && github.repository == 'twbs/bootlint'
+ with:
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
diff --git a/package.json b/package.json
index 041eeab..b85e949 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,6 @@
"browserify": "browserify src/bootlint.js | node build/stamp.js > dist/browser/bootlint.js",
"build": "npm run browserify && npm run minify",
"dist": "npm run build",
- "coveralls": "nyc report --reporter=text-lcov | coveralls",
"eslint": "eslint --cache-location .cache/.eslintcache --report-unused-disable-directives .",
"lint": "npm run eslint",
"minify": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"includeSources,url=bootlint.min.js.map\" --output dist/browser/bootlint.min.js dist/browser/bootlint.js",
@@ -39,7 +38,6 @@
"devDependencies": {
"async": "^3.2.0",
"browserify": "^16.5.1",
- "coveralls": "^3.1.0",
"eslint": "^5.16.0",
"jquery": "^3.5.1",
"node-qunit-phantomjs": "^2.1.1",
@@ -65,6 +63,11 @@
"nyc": {
"include": [
"src/**/*.js"
+ ],
+ "reporter": [
+ "html",
+ "lcov",
+ "text-summary"
]
},
"engines": {