ci: proper Gitea Actions workflow with npm ci + vitest (Closes #4) #7

Merged
pawtrick merged 1 commit from feat/ci-gitea-actions into main 2026-05-15 01:04:16 +00:00
Member

Closes #4

Changes

  • Switch from npm install to npm ci for reproducible builds
  • Setup Node.js 22 with npm cache via actions/setup-node@v6
  • Remove continue-on-error: true from test step — CI should fail on test failures
  • Add always() condition on report step for status visibility
  • Uses the composite build-node action pattern from .gitea/actions/

Testing

  • Workflow will run on this PR itself
  • npm ci + npm test = vitest run as defined in package.json
Closes #4 ## Changes - Switch from `npm install` to `npm ci` for reproducible builds - Setup Node.js 22 with npm cache via `actions/setup-node@v6` - Remove `continue-on-error: true` from test step — CI should fail on test failures - Add `always()` condition on report step for status visibility - Uses the composite `build-node` action pattern from `.gitea/actions/` ## Testing - Workflow will run on this PR itself - `npm ci` + `npm test` = `vitest run` as defined in package.json
ci: use npm ci + vitest run with Node 22 (Closes #4)
Some checks failed
CI - Tuyauterie / test (pull_request) Failing after 11s
63107d1a38
- Switch from npm install to npm ci for reproducible builds
- Setup Node.js 22 with cache via actions/setup-node@v6
- Remove continue-on-error from test step (fail fast)
- Add always() condition on report step
- Closes #4
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/dead-line!7
No description provided.