Skip to content

fix(ci): pin Node to 22 LTS — 24.17.0 breaks node-fetch #10

fix(ci): pin Node to 22 LTS — 24.17.0 breaks node-fetch

fix(ci): pin Node to 22 LTS — 24.17.0 breaks node-fetch #10

Triggered via pull request June 28, 2026 00:33
Status Failure
Total duration 29s
Artifacts

preview.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
preview
Error: Failed to publish package: Failed to publish @vlandoss/theme-toggle: > @vlandoss/theme-toggle@0.0.1-git-d5bedae.0 prepublishOnly /home/runner/work/theme-toggle/theme-toggle > rr pack ✔ pack (tsdown) · @vlandoss/theme-toggle 968ms $ tsdown ℹ tsdown v0.22.3 powered by rolldown v1.1.3 ℹ config file: /home/runner/work/theme-toggle/theme-toggle/tsdown.config.ts ℹ entry: src/index.ts ℹ tsconfig: tsconfig.json ℹ entry: src/initial.ts ℹ tsconfig: tsconfig.json ℹ Build start ℹ [IIFE] dist/initial.js 0.53 kB │ gzip: 0.34 kB ℹ [IIFE] 1 files, total: 0.53 kB ✔ Build complete in 796ms ℹ [ESM] dist/index.mjs 1.53 kB │ gzip: 0.69 kB ℹ [ESM] dist/index.d.mts 0.43 kB │ gzip: 0.27 kB ℹ [ESM] 2 files, total: 1.96 kB ✔ Build complete in 812ms npm notice npm notice 📦 @vlandoss/theme-toggle@0.0.1-git-d5bedae.0 npm notice Tarball Contents npm notice 1.1kB LICENSE npm notice 3.3kB README.md npm notice 435B dist/index.d.mts npm notice 1.5kB dist/index.mjs npm notice 533B dist/initial.js npm notice 1.7kB package.json npm notice 315B src/const.ts npm notice 1.5kB src/index.ts npm notice 819B src/initial.ts npm notice 241B src/types.d.ts npm notice 44B tsconfig.json npm notice Tarball Details npm notice name: @vlandoss/theme-toggle npm notice version: 0.0.1-git-d5bedae.0 npm notice filename: vlandoss-theme-toggle-0.0.1-git-d5bedae.0.tgz npm notice package size: 4.4 kB npm notice unpacked size: 11.5 kB npm notice shasum: a5fc98762520a6d6cac85d607213d215ffe1ae9d npm notice integrity: sha512-/IlOm9Ng/QtcK[...]zpjiZOWtd8Ftw== npm notice total files: 11 npm notice npm notice Publishing to https://registry.npmjs.org/ with tag pr-4 and public access npm notice publish Signed provenance statement with source and build information from GitHub Actions npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=1987858339 npm error code E403 npm error 403 403 Forbidden - PUT https://registry.npmjs.org/@vlandoss%2ftheme-toggle - Two-factor authentication is required to publish this package but an automation token was specified npm error 403 In most cases, you or one of your dependencies are requesting npm error 403 a package version that is forbidden by your security policy, or npm error 403 on a server you do not have access to. npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-06-28T00_33_26_425Z-debug-0.log
preview
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/