Front End Development Libraries Projects - Build a Random Quote Machine

Tell us what’s happening:

I’m trying to deploy my quotes machine app to github so that i can get the link to submit my work but the deploy build keeps failing with a warning that “The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/” pls I’m stuck
here’s the link to my work add: deploy workflow · emmyhub27/my-react-deploy@f07000e · GitHub

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Front End Development Libraries Projects - Build a Random Quote Machine

  • try upgrading/using your node version to 16+, if you haven’t already

happy coding :slight_smile:

I checked and my node is v 20+ but I discovered that its not the problem. The problem is from my Build project and I don’t know what to do

Your repo structure is not correct.

You should git init inside the Vite project root folder. Don’t commit the node_modules folder, Vite gives you a .gitignore don’t delete.

.gitignore
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

Read the Vite deploy guide.