The workflow tests the project across different Node.js versions, installs the project dependencies using npm ci to ensure a clean installation, installs Vue CLI globally to support building the project, runs npm run lint to perform linting on the project's codebase, runs npm run build to create a production-ready build of the Vue.js application.
Linting rules:
Components should have multi-word names.
Props should not be mutated directly.
Avoid duplicate keys within components.
Templates must have a single root element.
Note: modifications for file names (header, footer, banner, login), modifications for login.vue component, removed HomePage component, added eslintrc.js
The workflow tests the project across different Node.js versions, installs the project dependencies using npm ci to ensure a clean installation, installs Vue CLI globally to support building the project, runs npm run lint to perform linting on the project's codebase, runs npm run build to create a production-ready build of the Vue.js application. Linting rules: