Skip to content

build(deps-dev): bump unocss from 66.6.0 to 66.7.4#1613

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/unocss-66.7.4
Open

build(deps-dev): bump unocss from 66.6.0 to 66.7.4#1613
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/unocss-66.7.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 4, 2026

Copy link
Copy Markdown
Contributor

Bumps unocss from 66.6.0 to 66.7.4.

Release notes

Sourced from unocss's releases.

v66.7.4

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v66.7.4-beta.1

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v66.7.3

   🚀 Features

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v66.7.2

No significant changes

    View changes on GitHub

v66.7.2-beta.1

No significant changes

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 4, 2026
@github-actions github-actions Bot enabled auto-merge July 4, 2026 06:15
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/unocss-66.7.4 branch from f43e1d3 to 965ab92 Compare July 4, 2026 06:17
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/unocss-66.7.4 branch from 965ab92 to 3959026 Compare July 4, 2026 06:24
@k-takata

k-takata commented Jul 4, 2026

Copy link
Copy Markdown
Member

"Explain Error" でCopilotに聞いてみました。


Root cause: the workflow never sets up Node.js before running pnpm i, so CI is using the runner’s default Node version, which then fails during ESM/package resolution (node:internal/modules/package_json_readerELIFECYCLE).

Fix

Add an explicit Node setup step in .github/workflows/check-and-build.yml before installing dependencies.

name: Check format and test build
'on':
  pull_request:
    types:
      - opened
      - synchronize
      - reopened
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout your repository using git
        uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '22.14.0'
          cache: 'pnpm'

      - name: Setup pnpm
        uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9

      - name: Install dependencies
        run: pnpm i --frozen-lockfile
      - name: Run ESLint
        run: pnpm lint:check
      - name: Run Prettier
        run: pnpm prettier:check
      - name: Run Astro Check
        run: pnpm astro:check
      - name: Run test
        run: pnpm test
      - name: Run Build
        run: pnpm build

Why this is the right fix

  • Your package.json requires Node ^22.14.0 (engines.runtime.version).
  • Current workflow file has no Node installation step.
  • The failure stack trace is consistent with running on an incompatible/default Node runtime.
    

Relevant files

@k-takata

k-takata commented Jul 4, 2026

Copy link
Copy Markdown
Member

commit ID指定のパッチ形式も用意してもらいました。

diff --git a/.github/workflows/check-and-build.yml b/.github/workflows/check-and-build.yml
index 1819575..0000000 100644
--- a/.github/workflows/check-and-build.yml
+++ b/.github/workflows/check-and-build.yml
@@ -14,8 +14,14 @@ jobs:
       - name: Setup pnpm
         uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+      - name: Setup Node.js
+        uses: actions/setup-node@d7a9d2cfd0f4c6c7b7d5f2780b274e76a8cb1f7d # v4.0.4
+        with:
+          node-version: '22.14.0'
+          cache: 'pnpm'
       - name: Install dependencies
         run: pnpm i --frozen-lockfile
       - name: Run ESLint
         run: pnpm lint:check

Bumps [unocss](https://github.com/unocss/unocss/tree/HEAD/packages-presets/unocss) from 66.6.0 to 66.7.4.
- [Release notes](https://github.com/unocss/unocss/releases)
- [Commits](https://github.com/unocss/unocss/commits/v66.7.4/packages-presets/unocss)

---
updated-dependencies:
- dependency-name: unocss
  dependency-version: 66.7.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/unocss-66.7.4 branch from 3959026 to 6a12530 Compare July 6, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant