Skip to content

fix: inline import css compressed & upgrade deps #86

fix: inline import css compressed & upgrade deps

fix: inline import css compressed & upgrade deps #86

Triggered via pull request March 19, 2024 16:11
@zyyvzyyv
synchronize #9
dynamicImport
Status Failure
Total duration 39s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
test/extractor.test.ts > presetUseful extractor > extractor includes base64: test/extractor.test.ts#L16
AssertionError: expected +0 to be 1 // Object.is equality - Expected + Received - 1 + 0 ❯ test/extractor.test.ts:16:26
test/index.test.ts > preset-useful > targets: test/index.test.ts#L23
AssertionError: expected [ 'pr', 'pa', 'f-c', 'f-c-c', …(10) ] to deeply equal [] - Expected + Received - Array [] + Array [ + "pr", + "pa", + "f-c", + "f-c-c", + "fb", + "fbc", + "p-c", + "c::red", + "c-custom::red", + "p-10::10px", + "text-[rgb(--c)]:50", + "c-context::#818181", + "hover:pr", + "@Active:bg-red", + ] ❯ test/index.test.ts:23:23
test/magic-animate.test.ts > magic in PresetUseful Theme > magic animate in Uno: test/magic-animate.test.ts#L22
Error: Snapshot `magic in PresetUseful Theme > magic animate in Uno 1` mismatched - Expected + Received - "/* layer: default */ - @Keyframes puffIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(2, 2);filter:blur(2px);}100%{opacity:1;transform-origin:50% 50%;transform:scale(1, 1);filter:blur(0px);}} - .animate-puffIn{animation:puffIn 1s linear 1;animation-fill-mode:both;}" + "" ❯ test/magic-animate.test.ts:22:17
test/postprocess.test.ts > presetUseful postprocess with important > base: test/postprocess.test.ts#L50
Error: Snapshot `presetUseful postprocess with important > base 1` mismatched - Expected + Received "/* layer: default */ .important-ma{margin:auto !important;} - .bg-red{--un-bg-opacity:1 !important;background-color:rgb(248 113 113 / var(--un-bg-opacity)) !important;} + .bg-red{--un-bg-opacity:1;background-color:rgb(248 113 113 / var(--un-bg-opacity));} .\!text-xl{font-size:1.25rem !important;line-height:1.75rem !important;} - .text-blue{--un-text-opacity:1 !important;color:rgb(96 165 250 / var(--un-text-opacity)) !important;} + .text-blue{--un-text-opacity:1;color:rgb(96 165 250 / var(--un-text-opacity));} @media (min-width: 640px){ .sm\:text-sm\!{font-size:0.875rem !important;line-height:1.25rem !important;} }" ❯ test/postprocess.test.ts:50:17
test/preflights.test.ts > presetUseful preflights > base: test/preflights.test.ts#L20
AssertionError: expected [] to deeply equal [ 'useful', 'default' ] - Expected + Received - Array [ - "useful", - "default", - ] + Array [] ❯ test/preflights.test.ts:20:55
test/presets.test.ts > preseUseful presets > mutiple preset: test/presets.test.ts#L21
Error: Snapshot `preseUseful presets > mutiple preset 1` mismatched - Expected + Received [ - "@unocss/preset-icons", - "unocss-preset-useful", - "@unocss/preset-uno", - "unocss-preset-scrollbar", - "@unocss/preset-attributify", - "@unocss/preset-typography", + undefined, ] ❯ test/presets.test.ts:21:44
test/theme.test.ts > presetUseful theme > theme extend configuration: test/theme.test.ts#L41
Error: Snapshot `presetUseful theme > theme extend configuration 1` mismatched - Expected + Received - { - "counts": { - "bounce": "infinite", - "bounce-alt": "infinite", - "fade": "3", - "foo": "3", - "ping": "infinite", - "pulse": "infinite", - "pulse-alt": "infinite", - "spin": "infinite", - "wiggle": "infinite", - }, - "durations": { - "bar": "1s", - "bounce": "2s", - "bounce-in": "0.75s", - "bounce-out": "0.75s", - "fade": "1s", - "flip-out-x": "0.75s", - "flip-out-y": "0.75s", - "foo": "1s", - "heart-beat": "1.3s", - "hinge": "2s", - "pulse": "2s", - "spin": "1s", - "wiggle": "1s", - }, - "keyframes": { - "back-in-down": "{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}", - "back-in-left": "{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}", - "back-in-right": "{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}", - "back-in-up": "{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}", - "back-out-down": "{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}", - "back-out-left": "{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}", - "back-out-right": "{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}", - "back-out-up": "{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}", - "bounce": "{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}", - "bounce-alt": "{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}", - "bounce-in": "{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}", - "bounce-in-down": "{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}", - "bounce-in-left": "{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}", - "bounce-in-right": "{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}", - "bounce-in-up": "{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{tra
lint
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.