Run Locally and Deploy via github action #1026
Unanswered
sauravsolanki
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I wanted to create my profile using nextjs and .github.io pages approach. I have replicated repo, made changes and deployed as github pages and it works smoothly but when I run
npm
andnpm run dev
to test locally and push it, the github action failed with an error:➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
It make changes to yarn.lock and package.json and leading to github action error.I am new to nextjs. Please suggest me how can I solve it.
Beta Was this translation helpful? Give feedback.
All reactions