mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2025-04-21 04:53:08 +03:00
[FIX] - COVERALLS TOKEN
This commit is contained in:
parent
33149dea85
commit
3309cacca6
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -15,9 +15,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
node-version: [ lts/*, latest ]
|
node-version: [ lts/*, latest ]
|
||||||
|
|
||||||
env:
|
|
||||||
repo_token: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
@ -35,6 +32,11 @@ jobs:
|
|||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
npm test
|
npm test
|
||||||
|
|
||||||
|
- name: Coveralls
|
||||||
|
uses: coverallsapp/github-action@master
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"build": "npm run clean && npm run build:es5 && npm run build:esm",
|
"build": "npm run clean && npm run build:es5 && npm run build:esm",
|
||||||
"pack:clean": "cross-env rimraf %npm_package_name%-%npm_package_version%.tgz",
|
"pack:clean": "cross-env rimraf %npm_package_name%-%npm_package_version%.tgz",
|
||||||
"pack:uncompress": "cross-env tar xopf %npm_package_name%-%npm_package_version%.tgz",
|
"pack:uncompress": "cross-env tar xopf %npm_package_name%-%npm_package_version%.tgz",
|
||||||
"test": "jest --coverage && coveralls < coverage/lcov.info",
|
"test": "jest --coverage",
|
||||||
"lint": "eslint --config .eslintrc.js --ext .ts --ext .js src",
|
"lint": "eslint --config .eslintrc.js --ext .ts --ext .js src",
|
||||||
"lint:fix": "eslint --fix --config .eslintrc.js --ext .ts --ext .js src",
|
"lint:fix": "eslint --fix --config .eslintrc.js --ext .ts --ext .js src",
|
||||||
"examples-update": "npm run examples-update:script-tag",
|
"examples-update": "npm run examples-update:script-tag",
|
||||||
|
Loading…
Reference in New Issue
Block a user