mirror of
				https://github.com/crypto-pro-web/crypto-pro-js.git
				synced 2025-10-31 06:13:22 +03:00 
			
		
		
		
	Merge branch 'master' into dependabot/npm_and_yarn/minimist-1.2.6
This commit is contained in:
		
						commit
						775bfdab65
					
				
							
								
								
									
										43
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										43
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Executable file
									
								
							| @ -0,0 +1,43 @@ | ||||
| name: CryptoPRO tests | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: [ master ] | ||||
|   pull_request: | ||||
|     branches: [ master ] | ||||
| 
 | ||||
| 
 | ||||
| jobs: | ||||
|   buildAndTest: | ||||
|     runs-on: ubuntu-20.04 | ||||
| 
 | ||||
|     strategy: | ||||
|       matrix: | ||||
|         node-version: [ lts/* ] | ||||
| 
 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - name: Use Node.js ${{ matrix.node-version }} | ||||
|         uses: actions/setup-node@v3 | ||||
|         with: | ||||
|           node-version: ${{ matrix.node-version }} | ||||
| 
 | ||||
|       - name: Clean install, build, test | ||||
|         run: | | ||||
|           npm ci | ||||
|           npm run build --if-present --openssl-legacy-provider | ||||
|           npm test | ||||
| 
 | ||||
|   lint: | ||||
|     runs-on: ubuntu-20.04 | ||||
| 
 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - name: Use Node.js latest | ||||
|         uses: actions/setup-node@v3 | ||||
|         with: | ||||
|           node-version: latest | ||||
|       - name: Clean install, lint | ||||
|         run: | | ||||
|           npm ci | ||||
|           npm run lint | ||||
| @ -1,3 +0,0 @@ | ||||
| language: node_js | ||||
| node_js: | ||||
|   - lts/* | ||||
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							| @ -1,7 +1,8 @@ | ||||
| [![License][license-image]][license-url] | ||||
| [![NPM version][npm-version-image]][npm-url] | ||||
| [![NPM downloads][npm-downloads-image]][downloads-url] | ||||
| [![Build Status][travis-image]][travis-url] | ||||
| [![Coverage Status][coveralls-image]][coveralls-url] | ||||
| [![Build Status][actions-image]][actions-url] | ||||
| 
 | ||||
| 
 | ||||
| <a name="cryptopro"></a> | ||||
| # cryptoPro | ||||
| @ -200,11 +201,11 @@ npm unlink | ||||
| # Лицензия | ||||
| [MIT](/LICENSE) | ||||
| 
 | ||||
| [license-url]: /LICENSE | ||||
| [license-image]: https://img.shields.io/github/license/webmasterskaya/crypto-pro-js | ||||
| [npm-url]: https://npmjs.org/package/crypto-pro-js | ||||
| [npm-version-image]: https://img.shields.io/npm/v/crypto-pro-js.svg?style=flat | ||||
| [npm-downloads-image]: http://img.shields.io/npm/dm/crypto-pro-js.svg?style=flat | ||||
| [npm-downloads-image]: https://img.shields.io/npm/dm/crypto-pro-js.svg?style=flat | ||||
| [downloads-url]: https://npmcharts.com/compare/crypto-pro-js?minimal=true | ||||
| [travis-url]: https://www.travis-ci.com/webmasterskaya/crypto-pro-js | ||||
| [travis-image]: http://img.shields.io/travis/webmasterskaya/crypto-pro-js/master.svg?style=flat | ||||
| [coveralls-image]: https://coveralls.io/repos/github/webmasterskaya/crypto-pro-js/badge.svg?branch=master | ||||
| [coveralls-url]: https://coveralls.io/github/webmasterskaya/crypto-pro-js?branch=master | ||||
| [actions-url]: https://github.com/webmasterskaya/crypto-pro-js/actions | ||||
| [actions-image]: https://img.shields.io/github/workflow/status/webmasterskaya/crypto-pro-js/test?event=push | ||||
|  | ||||
| @ -22,7 +22,7 @@ | ||||
|     "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: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:fix": "eslint --fix --config .eslintrc.js --ext .ts --ext .js src", | ||||
|     "examples-update": "npm run examples-update:script-tag", | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Artem Vasilev
						Artem Vasilev