Skip to content

fix: add nuxt prepare before lint in CI - #6

Merged
toolpathguy merged 1 commit into
mainfrom
fix/ci-nuxt-prepare
Jul 22, 2026
Merged

fix: add nuxt prepare before lint in CI#6
toolpathguy merged 1 commit into
mainfrom
fix/ci-nuxt-prepare

Conversation

@toolpathguy

Copy link
Copy Markdown
Owner

Relates to #5

Problem

ESLint config imports from .nuxt/eslint.config.mjs which is generated by nuxt prepare. On CI this directory doesn't exist after npm ci, so npm run lint fails with ERR_MODULE_NOT_FOUND.

Fix

Added npx nuxt prepare step between npm ci and npm run lint (with the same has_project conditional).

@toolpathguy
toolpathguy merged commit 21f8053 into main Jul 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant