Skip to content

Add service worker

Add service worker #33

Triggered via push November 8, 2024 17:41
Status Failure
Total duration 31s
Artifacts

style.yml

on: push
check-code-style
22s
check-code-style
Fit to window
Zoom out
Zoom in

Annotations

10 errors
check-code-style: public/sw.js#L5
'importScripts' is not defined
check-code-style: public/sw.js#L5
Replace `'https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js'` with `"https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js"`
check-code-style: public/sw.js#L13
'workbox' is not defined
check-code-style: public/sw.js#L14
Use a regular expression literal instead of the 'RegExp' constructor
check-code-style: public/sw.js#L14
Use the 'u' flag
check-code-style: public/sw.js#L14
Replace `'/*'` with `"/*"`
check-code-style: public/sw.js#L15
'workbox' is not defined
check-code-style: public/sw.js#L16
Insert `,`
check-code-style: public/sw.js#L17
Insert `,`
check-code-style: public/sw.js#L18
Insert `⏎`