Skip to content

ci: add GitHub Actions workflow for lint, test, and build#55

Open
t0kubetsu wants to merge 2 commits into
mainfrom
ci/github-actions
Open

ci: add GitHub Actions workflow for lint, test, and build#55
t0kubetsu wants to merge 2 commits into
mainfrom
ci/github-actions

Conversation

@t0kubetsu
Copy link
Copy Markdown

Summary

Adds .github/workflows/ci.yml that runs on every push and pull request to main:

  1. npm ci — reproducible install
  2. npm run lint — ESLint
  3. npm run test:unit -- --run — Vitest unit tests
  4. npm run build — production build

Uses Node.js 24 on ubuntu-latest, matching the project's Dockerfile.

Closes #51

Test plan

  • Push a commit to a branch and verify the workflow appears under the Actions tab
  • Confirm all 4 steps pass on a clean run
  • Introduce a lint error intentionally and confirm the workflow fails at the lint step

t0kubetsu added 2 commits May 11, 2026 17:17
Runs on every push and pull request to main:
- npm ci (reproducible install)
- npm run lint (ESLint)
- npm run test:unit --run (Vitest)
- npm run build (production build)

Node.js 24 matches the Dockerfile base image. Closes #51.
- Fix double slash in /network//node/list API endpoint (closes #44)
- Rename proxmoxSettingsStore Pinia ID to proxmoxSettingsV1 to avoid collision with useProxmoxSettings.js (closes #45)
- Replace stale scaffold test with real App mount smoke test (closes #46)
- Remove 30+ unused variables and imports across ProjectEditor.vue, Dashboard.vue, ConfigPanel.vue, Sidebar.vue, App.vue, and TS composables (closes #47, #48)
- Add defineOptions multi-word names to Settings, Dashboard, Sidebar views (closes #48)
- Gate vite-plugin-vue-devtools on mode === 'development' only (closes #49)
- Rename package.json name from vue-project to range42-deployer-ui (closes #52)
- Add typescript-eslint with TypeScript parser for Vue SFCs; fix vitest.config.js to resolve function-form vite config
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.

ci: add GitHub Actions workflow for lint, test, and build

1 participant