[project] Integrate the CI commands into a single command and uniformly invoke this CI command across different platforms.

This commit is contained in:
Revone 2023-10-18 16:05:55 +08:00
parent ac7c39ce37
commit 57c4511e69
5 changed files with 36 additions and 54 deletions

View file

@ -35,23 +35,5 @@ jobs:
- name: Install dependencies
run: npm install
- name: Print Environment Variables
run: env
- name: Lint
run: npm run lint
- name: Build and documentation
run: npm run build
- name: Update Individuals
run: npm run update:individuals
- name: Run tests
run: npm test
- name: Fetch Tags
run: git fetch --tags
- name: Changelog
run: npm run changelog
- name: Combined ci commands together
run: npm run ci

View file

@ -1,11 +1,10 @@
language: node_js
node_js:
- "19"
- "19.9.0"
install:
- npm build
- npm install
script:
- npm run lint
- npm run test
- npm run ci
deploy:
provider: npm
email: zrwusa@gmail.com

View file

@ -8,10 +8,11 @@ All notable changes to this project will be documented in this file.
- [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
- [`auto-changelog`](https://github.com/CookPete/auto-changelog)
## [v1.36.3](https://github.com/zrwusa/data-structure-typed/compare/v1.35.0...main) (upcoming)
## [v1.36.4](https://github.com/zrwusa/data-structure-typed/compare/v1.35.0...main) (upcoming)
### Changes
- [trie] support casesensitivity. getWords bug fixed [`#8`](https://github.com/zrwusa/data-structure-typed/pull/8)
- [binary-tree, graph] In order to optimize the design of Binary Trees,… [`#7`](https://github.com/zrwusa/data-structure-typed/pull/7)
- [BinaryTree, Heap] In abstract classes, only retain abstract methods.… [`#6`](https://github.com/zrwusa/data-structure-typed/pull/6)
- [heap] test [`#5`](https://github.com/zrwusa/data-structure-typed/pull/5)

50
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "data-structure-typed",
"version": "1.36.3",
"version": "1.36.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "data-structure-typed",
"version": "1.36.3",
"version": "1.36.4",
"license": "MIT",
"devDependencies": {
"@types/benchmark": "^2.1.3",
@ -15,17 +15,17 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"auto-changelog": "^2.4.0",
"avl-tree-typed": "^1.36.2",
"avl-tree-typed": "^1.36.3",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.36.2",
"bst-typed": "^1.36.2",
"binary-tree-typed": "^1.36.3",
"bst-typed": "^1.36.3",
"dependency-cruiser": "^14.1.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"heap-typed": "^1.36.2",
"heap-typed": "^1.36.3",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.7.0",
"prettier": "^3.0.3",
@ -2396,12 +2396,12 @@
}
},
"node_modules/avl-tree-typed": {
"version": "1.36.2",
"resolved": "https://registry.npmjs.org/avl-tree-typed/-/avl-tree-typed-1.36.2.tgz",
"integrity": "sha512-ubkJv3nqKcmov5NahMfgM0UIGdHKjQwPmrUW0++c3rWB3MeDyb83NaQcaWRtVIOsI8lcaTWsRxBCRLR0FUiQJA==",
"version": "1.36.3",
"resolved": "https://registry.npmjs.org/avl-tree-typed/-/avl-tree-typed-1.36.3.tgz",
"integrity": "sha512-OaAJ84yaupkmJBWD0Dqi2jdz1sO57n7ZFATzkHnN1VuOFK5dyoTHgGufZ0xK3A2Jh1i3lMYR7TZldFOnzBW1AA==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.36.2"
"data-structure-typed": "^1.36.3"
}
},
"node_modules/babel-jest": {
@ -2586,12 +2586,12 @@
}
},
"node_modules/binary-tree-typed": {
"version": "1.36.2",
"resolved": "https://registry.npmjs.org/binary-tree-typed/-/binary-tree-typed-1.36.2.tgz",
"integrity": "sha512-hPhD0dDU68gChqBwzboFSQaUvnlWdF/o7dIC+OnVf0CgWN+9PtRX4ZKDkf3LycSTJ1hq+n0R5Oqpl5qEIqWnXw==",
"version": "1.36.3",
"resolved": "https://registry.npmjs.org/binary-tree-typed/-/binary-tree-typed-1.36.3.tgz",
"integrity": "sha512-7Hi3Q6yPoBjuiy6c+Wq1fjL8rugriUqFq6p1mhLoYbLgkCe8uXFmCi1A6s1jD/cMCwKWy23wATUNBSpajCTfKQ==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.36.2"
"data-structure-typed": "^1.36.3"
}
},
"node_modules/brace-expansion": {
@ -2670,12 +2670,12 @@
}
},
"node_modules/bst-typed": {
"version": "1.36.2",
"resolved": "https://registry.npmjs.org/bst-typed/-/bst-typed-1.36.2.tgz",
"integrity": "sha512-/NTj4zVZEktkNLu8JIjpG8ufv02RrwnAv4detVZ3qtF4M5KTPtAxpNmYXt4Ou/prLraox949rpVxnELsNP5otA==",
"version": "1.36.3",
"resolved": "https://registry.npmjs.org/bst-typed/-/bst-typed-1.36.3.tgz",
"integrity": "sha512-e1gdr7Dy3YRZ0xXf63Ev9tMjXnLY4DJ4EHKIB5WKIDhVS45ZkuZ+9NZ9oLLRcYhpegwwO5HDASPzbhMb969E0Q==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.36.2"
"data-structure-typed": "^1.36.3"
}
},
"node_modules/buffer-from": {
@ -3027,9 +3027,9 @@
}
},
"node_modules/data-structure-typed": {
"version": "1.36.2",
"resolved": "https://registry.npmjs.org/data-structure-typed/-/data-structure-typed-1.36.2.tgz",
"integrity": "sha512-uHvKBTCb8QXTTi3kOszsaTZjrDbH/PZ4OrYdb+PdoKgzAdmTjMG2UCCv+ZE+zxG5ra7y4ttFylMh67k+7Zbc0A==",
"version": "1.36.3",
"resolved": "https://registry.npmjs.org/data-structure-typed/-/data-structure-typed-1.36.3.tgz",
"integrity": "sha512-DspbeEZaeFRtiVi3WMm+gDzrCHgjDYy5Am1K57iF9ZtTeoXJgNQ0th+PL7HImeFh14zmAnVUgBEsN8lr4n04Cw==",
"dev": true
},
"node_modules/debug": {
@ -4362,12 +4362,12 @@
}
},
"node_modules/heap-typed": {
"version": "1.36.2",
"resolved": "https://registry.npmjs.org/heap-typed/-/heap-typed-1.36.2.tgz",
"integrity": "sha512-sc6dqpEe2ZqbS8Pk8oH1xqTPLp+QDaRKdzMgLrTP4SiizcgmQaX5fnQXCCufcYO/ruxcHRnpQYdN8JgmO3RXTQ==",
"version": "1.36.3",
"resolved": "https://registry.npmjs.org/heap-typed/-/heap-typed-1.36.3.tgz",
"integrity": "sha512-6C3Jzk1Cl5c8P49SF+elEpAckZ4I/a5bd9T+N7kp7zSEPon20+Xn6+TLC0E1feK6yex/E7mmlxKtsyoTXBSLdg==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.36.2"
"data-structure-typed": "^1.36.3"
}
},
"node_modules/html-escaper": {

View file

@ -54,17 +54,17 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"auto-changelog": "^2.4.0",
"avl-tree-typed": "^1.36.2",
"avl-tree-typed": "^1.36.3",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.36.2",
"bst-typed": "^1.36.2",
"binary-tree-typed": "^1.36.3",
"bst-typed": "^1.36.3",
"dependency-cruiser": "^14.1.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"heap-typed": "^1.36.2",
"heap-typed": "^1.36.3",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.7.0",
"prettier": "^3.0.3",