Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: optimize ci #75

Merged
merged 6 commits into from
Oct 21, 2022
Merged

ci: optimize ci #75

merged 6 commits into from
Oct 21, 2022

Conversation

ZLY201
Copy link
Member

@ZLY201 ZLY201 commented Oct 21, 2022

No description provided.

@ZLY201 ZLY201 changed the base branch from main to dev October 21, 2022 05:48
@coveralls
Copy link
Collaborator

coveralls commented Oct 21, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling 695ed49 on ci/fix_failed_ci into 9b2b266 on dev.

@github-actions
Copy link

PR Preview Action v1.1.1
🚀 Deployed preview to https://js-sdsl.github.io/js-sdsl/pr-preview/pr-75/
on branch gh-pages at 2022-10-21 05:51 UTC

@ZLY201
Copy link
Member Author

ZLY201 commented Oct 21, 2022

rossjrw/pr-preview-action#3

preactjs/compressed-size-action#2

It seems there has no good way to solve this problem.

@ZLY201 ZLY201 changed the title test: test compress size action ci: fix failed ci Oct 21, 2022
@ZLY201 ZLY201 changed the title ci: fix failed ci ci: optimize ci Oct 21, 2022
@ZLY201 ZLY201 self-assigned this Oct 21, 2022
@github-actions
Copy link

Size Change: +34.9 kB (+5%) 🔍

Total Size: 764 kB

Filename Size Change
./dist/cjs/container/SequentialContainer/LinkList.js 9.11 kB +30 B (0%)
./dist/cjs/container/SequentialContainer/Vector.js 3.73 kB +25 B (+1%)
./dist/cjs/container/TreeContainer/Base/index.js 14.1 kB -4 B (0%)
./dist/cjs/container/TreeContainer/OrderedMap.js 3.42 kB -3 B (0%)
./dist/cjs/container/TreeContainer/OrderedSet.js 2.83 kB -2 B (0%)
./dist/umd/js-sdsl.min.js 34.9 kB +34.9 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size
./dist/cjs/container/ContainerBase/index.js 558 B
./dist/cjs/container/HashContainer/Base/index.js 944 B
./dist/cjs/container/HashContainer/HashMap.js 5.07 kB
./dist/cjs/container/HashContainer/HashSet.js 4.22 kB
./dist/cjs/container/OtherContainer/PriorityQueue.js 2.56 kB
./dist/cjs/container/OtherContainer/Queue.js 838 B
./dist/cjs/container/OtherContainer/Stack.js 654 B
./dist/cjs/container/SequentialContainer/Base/index.js 317 B
./dist/cjs/container/SequentialContainer/Base/RandomIterator.js 1.85 kB
./dist/cjs/container/SequentialContainer/Deque.js 9.14 kB
./dist/cjs/container/TreeContainer/Base/TreeIterator.js 2.07 kB
./dist/cjs/container/TreeContainer/Base/TreeNode.js 2.51 kB
./dist/cjs/index.js 2.43 kB
./dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/esm/container/HashContainer/Base/index.js 1.93 kB
./dist/esm/container/HashContainer/HashMap.js 12.1 kB
./dist/esm/container/HashContainer/HashSet.js 9.46 kB
./dist/esm/container/OtherContainer/PriorityQueue.js 4.76 kB
./dist/esm/container/OtherContainer/Queue.js 1.59 kB
./dist/esm/container/OtherContainer/Stack.js 1.58 kB
./dist/esm/container/SequentialContainer/Base/index.js 1.14 kB
./dist/esm/container/SequentialContainer/Base/RandomIterator.js 2.81 kB
./dist/esm/container/SequentialContainer/Deque.js 14.7 kB
./dist/esm/container/SequentialContainer/LinkList.js 13.9 kB
./dist/esm/container/SequentialContainer/Vector.js 9.41 kB
./dist/esm/container/TreeContainer/Base/index.js 16.1 kB
./dist/esm/container/TreeContainer/Base/TreeIterator.js 3.07 kB
./dist/esm/container/TreeContainer/Base/TreeNode.js 3.58 kB
./dist/esm/container/TreeContainer/OrderedMap.js 9.97 kB
./dist/esm/container/TreeContainer/OrderedSet.js 8.67 kB
./dist/esm/index.js 796 B
./dist/isolate/deque/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/deque/dist/cjs/container/SequentialContainer/Base/index.js 317 B
./dist/isolate/deque/dist/cjs/container/SequentialContainer/Base/RandomIterator.js 1.85 kB
./dist/isolate/deque/dist/cjs/container/SequentialContainer/Deque.js 9.14 kB
./dist/isolate/deque/dist/cjs/index.js 417 B
./dist/isolate/deque/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/deque/dist/esm/container/SequentialContainer/Base/index.js 1.14 kB
./dist/isolate/deque/dist/esm/container/SequentialContainer/Base/RandomIterator.js 2.81 kB
./dist/isolate/deque/dist/esm/container/SequentialContainer/Deque.js 14.7 kB
./dist/isolate/deque/dist/esm/index.js 108 B
./dist/isolate/hash-map/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/hash-map/dist/cjs/container/HashContainer/Base/index.js 944 B
./dist/isolate/hash-map/dist/cjs/container/HashContainer/HashMap.js 5.07 kB
./dist/isolate/hash-map/dist/cjs/container/SequentialContainer/Base/index.js 317 B
./dist/isolate/hash-map/dist/cjs/container/SequentialContainer/Base/RandomIterator.js 1.85 kB
./dist/isolate/hash-map/dist/cjs/container/SequentialContainer/Vector.js 3.7 kB
./dist/isolate/hash-map/dist/cjs/container/TreeContainer/Base/index.js 14.1 kB
./dist/isolate/hash-map/dist/cjs/container/TreeContainer/Base/TreeIterator.js 2.07 kB
./dist/isolate/hash-map/dist/cjs/container/TreeContainer/Base/TreeNode.js 2.51 kB
./dist/isolate/hash-map/dist/cjs/container/TreeContainer/OrderedMap.js 3.43 kB
./dist/isolate/hash-map/dist/cjs/index.js 869 B
./dist/isolate/hash-map/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/hash-map/dist/esm/container/HashContainer/Base/index.js 1.93 kB
./dist/isolate/hash-map/dist/esm/container/HashContainer/HashMap.js 12.1 kB
./dist/isolate/hash-map/dist/esm/container/SequentialContainer/Base/index.js 1.14 kB
./dist/isolate/hash-map/dist/esm/container/SequentialContainer/Base/RandomIterator.js 2.81 kB
./dist/isolate/hash-map/dist/esm/container/SequentialContainer/Vector.js 9.41 kB
./dist/isolate/hash-map/dist/esm/container/TreeContainer/Base/index.js 16.1 kB
./dist/isolate/hash-map/dist/esm/container/TreeContainer/Base/TreeIterator.js 3.07 kB
./dist/isolate/hash-map/dist/esm/container/TreeContainer/Base/TreeNode.js 3.58 kB
./dist/isolate/hash-map/dist/esm/container/TreeContainer/OrderedMap.js 9.97 kB
./dist/isolate/hash-map/dist/esm/index.js 262 B
./dist/isolate/hash-set/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/hash-set/dist/cjs/container/HashContainer/Base/index.js 944 B
./dist/isolate/hash-set/dist/cjs/container/HashContainer/HashSet.js 4.22 kB
./dist/isolate/hash-set/dist/cjs/container/SequentialContainer/Base/index.js 317 B
./dist/isolate/hash-set/dist/cjs/container/SequentialContainer/Base/RandomIterator.js 1.85 kB
./dist/isolate/hash-set/dist/cjs/container/SequentialContainer/Vector.js 3.7 kB
./dist/isolate/hash-set/dist/cjs/container/TreeContainer/Base/index.js 14.1 kB
./dist/isolate/hash-set/dist/cjs/container/TreeContainer/Base/TreeIterator.js 2.07 kB
./dist/isolate/hash-set/dist/cjs/container/TreeContainer/Base/TreeNode.js 2.51 kB
./dist/isolate/hash-set/dist/cjs/container/TreeContainer/OrderedSet.js 2.83 kB
./dist/isolate/hash-set/dist/cjs/index.js 869 B
./dist/isolate/hash-set/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/hash-set/dist/esm/container/HashContainer/Base/index.js 1.93 kB
./dist/isolate/hash-set/dist/esm/container/HashContainer/HashSet.js 9.46 kB
./dist/isolate/hash-set/dist/esm/container/SequentialContainer/Base/index.js 1.14 kB
./dist/isolate/hash-set/dist/esm/container/SequentialContainer/Base/RandomIterator.js 2.81 kB
./dist/isolate/hash-set/dist/esm/container/SequentialContainer/Vector.js 9.41 kB
./dist/isolate/hash-set/dist/esm/container/TreeContainer/Base/index.js 16.1 kB
./dist/isolate/hash-set/dist/esm/container/TreeContainer/Base/TreeIterator.js 3.07 kB
./dist/isolate/hash-set/dist/esm/container/TreeContainer/Base/TreeNode.js 3.58 kB
./dist/isolate/hash-set/dist/esm/container/TreeContainer/OrderedSet.js 8.67 kB
./dist/isolate/hash-set/dist/esm/index.js 262 B
./dist/isolate/link-list/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/link-list/dist/cjs/container/SequentialContainer/Base/index.js 317 B
./dist/isolate/link-list/dist/cjs/container/SequentialContainer/LinkList.js 9.08 kB
./dist/isolate/link-list/dist/cjs/index.js 429 B
./dist/isolate/link-list/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/link-list/dist/esm/container/SequentialContainer/Base/index.js 1.14 kB
./dist/isolate/link-list/dist/esm/container/SequentialContainer/LinkList.js 13.9 kB
./dist/isolate/link-list/dist/esm/index.js 114 B
./dist/isolate/ordered-map/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/ordered-map/dist/cjs/container/TreeContainer/Base/index.js 14.1 kB
./dist/isolate/ordered-map/dist/cjs/container/TreeContainer/Base/TreeIterator.js 2.07 kB
./dist/isolate/ordered-map/dist/cjs/container/TreeContainer/Base/TreeNode.js 2.51 kB
./dist/isolate/ordered-map/dist/cjs/container/TreeContainer/OrderedMap.js 3.43 kB
./dist/isolate/ordered-map/dist/cjs/index.js 431 B
./dist/isolate/ordered-map/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/ordered-map/dist/esm/container/TreeContainer/Base/index.js 16.1 kB
./dist/isolate/ordered-map/dist/esm/container/TreeContainer/Base/TreeIterator.js 3.07 kB
./dist/isolate/ordered-map/dist/esm/container/TreeContainer/Base/TreeNode.js 3.58 kB
./dist/isolate/ordered-map/dist/esm/container/TreeContainer/OrderedMap.js 9.97 kB
./dist/isolate/ordered-map/dist/esm/index.js 112 B
./dist/isolate/ordered-set/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/ordered-set/dist/cjs/container/TreeContainer/Base/index.js 14.1 kB
./dist/isolate/ordered-set/dist/cjs/container/TreeContainer/Base/TreeIterator.js 2.07 kB
./dist/isolate/ordered-set/dist/cjs/container/TreeContainer/Base/TreeNode.js 2.51 kB
./dist/isolate/ordered-set/dist/cjs/container/TreeContainer/OrderedSet.js 2.83 kB
./dist/isolate/ordered-set/dist/cjs/index.js 431 B
./dist/isolate/ordered-set/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/ordered-set/dist/esm/container/TreeContainer/Base/index.js 16.1 kB
./dist/isolate/ordered-set/dist/esm/container/TreeContainer/Base/TreeIterator.js 3.07 kB
./dist/isolate/ordered-set/dist/esm/container/TreeContainer/Base/TreeNode.js 3.58 kB
./dist/isolate/ordered-set/dist/esm/container/TreeContainer/OrderedSet.js 8.67 kB
./dist/isolate/ordered-set/dist/esm/index.js 112 B
./dist/isolate/priority-queue/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/priority-queue/dist/cjs/container/OtherContainer/PriorityQueue.js 2.56 kB
./dist/isolate/priority-queue/dist/cjs/index.js 444 B
./dist/isolate/priority-queue/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/priority-queue/dist/esm/container/OtherContainer/PriorityQueue.js 4.76 kB
./dist/isolate/priority-queue/dist/esm/index.js 119 B
./dist/isolate/queue/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/queue/dist/cjs/container/OtherContainer/Queue.js 838 B
./dist/isolate/queue/dist/cjs/container/SequentialContainer/Base/index.js 317 B
./dist/isolate/queue/dist/cjs/container/SequentialContainer/Base/RandomIterator.js 1.85 kB
./dist/isolate/queue/dist/cjs/container/SequentialContainer/Deque.js 9.14 kB
./dist/isolate/queue/dist/cjs/index.js 628 B
./dist/isolate/queue/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/queue/dist/esm/container/OtherContainer/Queue.js 1.59 kB
./dist/isolate/queue/dist/esm/container/SequentialContainer/Base/index.js 1.14 kB
./dist/isolate/queue/dist/esm/container/SequentialContainer/Base/RandomIterator.js 2.81 kB
./dist/isolate/queue/dist/esm/container/SequentialContainer/Deque.js 14.7 kB
./dist/isolate/queue/dist/esm/index.js 178 B
./dist/isolate/stack/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/stack/dist/cjs/container/OtherContainer/Stack.js 654 B
./dist/isolate/stack/dist/cjs/index.js 412 B
./dist/isolate/stack/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/stack/dist/esm/container/OtherContainer/Stack.js 1.58 kB
./dist/isolate/stack/dist/esm/index.js 103 B
./dist/isolate/vector/dist/cjs/container/ContainerBase/index.js 558 B
./dist/isolate/vector/dist/cjs/container/SequentialContainer/Base/index.js 317 B
./dist/isolate/vector/dist/cjs/container/SequentialContainer/Base/RandomIterator.js 1.85 kB
./dist/isolate/vector/dist/cjs/container/SequentialContainer/Vector.js 3.7 kB
./dist/isolate/vector/dist/cjs/index.js 421 B
./dist/isolate/vector/dist/esm/container/ContainerBase/index.js 1.52 kB
./dist/isolate/vector/dist/esm/container/SequentialContainer/Base/index.js 1.14 kB
./dist/isolate/vector/dist/esm/container/SequentialContainer/Base/RandomIterator.js 2.81 kB
./dist/isolate/vector/dist/esm/container/SequentialContainer/Vector.js 9.41 kB
./dist/isolate/vector/dist/esm/index.js 110 B
./dist/umd/js-sdsl.js 112 kB

compressed-size-action

@ZLY201
Copy link
Member Author

ZLY201 commented Oct 21, 2022

This PR do something as follow:

@noname0310 Please to help to check all the changes are good.

@ZLY201 ZLY201 added the configure Config change label Oct 21, 2022
Copy link
Collaborator

@noname0310 noname0310 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will apply rollup-plugin-size in the next PR

@ZLY201
Copy link
Member Author

ZLY201 commented Oct 21, 2022

I will apply rollup-plugin-size in the next PR

Thanks! If succeed don't forget to remove the compressed-size-action.

@ZLY201 ZLY201 merged commit 58a77c9 into dev Oct 21, 2022
@ZLY201 ZLY201 deleted the ci/fix_failed_ci branch October 21, 2022 15:52
ZLY201 added a commit that referenced this pull request Oct 30, 2022
* ci: fix wrong workflow of isolate [skip ci] (#60)

* docs: add isolate packages info to readme (#59)

* docs: add isolate packages info to readme

* docs: refine comments

* chore: add sourcemap for ts and remove mangle from umd (#58)

* docs: add examples for api in typedoc (#63)

* docs: add examples for api in typedoc

* ci: add deploy preview

* docs: add more api examples

* chore: create FUNDING.yml (#65)

Signed-off-by: Zilong Yao <59038614+ZLY201@users.noreply.github.com>

Signed-off-by: Zilong Yao <59038614+ZLY201@users.noreply.github.com>

* ci: add deploy preview permission (#67)

* chore: upgrade browserslist (#66)

* chore: upgrade browserslist

* test: add firefox test

* ci: add node matrix

* docs: update readme and changelog [skip ci] (#70)

* ci: add compress size action (#71)

* perf: add on path for workflow (#72)

* ci: fix failed ci (#73)

* ci: fix failed workflow (#74)

* ci: optimize workflow (#75)

* test: compress size action

* test: test

* test: test

* ci: optimize ci

* revert: revert iterator export change

* ci: optimize ci

* refactor: change iterator export to type export (#76)

* feat: type level tree shaking for isolate packages (#62)

* refactor: organize transformer code

* feat: type level tree shaking

* refactor: merge transformers

* fix: minor transformer bugs

* fix: node_modules import failback

* feat: use `rollup-plugin-ts` for tree shaking

* chore: remove unused options

* feat: use `rollup-plugin-dts` for dts tree shaking

* chore: resolve conflict file

* fix: ignore browserlist

* fix: add missing scripts

* perf: improve build performance

* refactor: remove unused code

Co-authored-by: Zilong Yao <59038614+ZLY201@users.noreply.github.com>

* test: add isolation test (#77)

* docs: update readme (#78)

* docs: update readme

* docs: add gitpod

* docs: add sponsors and funding (#79)

* docs: fix reamde svg error (#80)

* docs: update readme (#81)

* ci: optimize workflow (#82)

* test: isolation tests judegment (#83)

* ci: fix wrong config of deploy workflow (#84)

* fix: rollup build bug (#85)

* feat: add `this` param for `forEach` function (#88)

* chore: upgrade dependencies

* feat: add  param to foreach

* chore: fix browser test ts complier error

* docs: update changelog

* test: add  test

* ci: fix wrong config for deploy (#90)

* docs: improve readme (#91)

* docs: update readme (#92)

* docs: update readme (#95)

* feat: isolation package umd build support  (#94)

* chore: clean build script

* feat: isolation package umd build support

* refactor: apply request changes

* docs: update CHANGELOG.md

* feat: add license to umd build

* refactor: apply request changes

Co-authored-by: Zilong Yao <59038614+ZLY201@users.noreply.github.com>

* docs: update readme (#97)

* docs: update previous docs hint (#98)

* ci: fix deploy workflow (#100)

* ci: fix pr preview error (#101)

* ci: fix pr preview error (#102)

* chore: make test exclude from tsconfig (#103)

* build: publish@4.2.0-beta.0 [skip ci] (#104)

Signed-off-by: Zilong Yao <59038614+ZLY201@users.noreply.github.com>
Co-authored-by: noname <48761044+noname0310@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configure Config change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants