Skip to content

[CI] Add Testing Workflow#95

Merged
rasulkireev merged 1 commit into
masterfrom
codex/add-ci-test-suite
May 14, 2026
Merged

[CI] Add Testing Workflow#95
rasulkireev merged 1 commit into
masterfrom
codex/add-ci-test-suite

Conversation

@rasulkireev

Copy link
Copy Markdown
Contributor

Summary

  • Add a pull request CI workflow that installs dependencies with npm ci, typechecks, runs tests, and builds the plugin on Node.js 20.
  • Add local typecheck, test, and ci npm scripts so contributors can run the same checks before pushing.
  • Add a first Node.js built-in test suite for the status bar queue behavior.
  • Update the release workflow to use the same clean install and validation path before publishing.
  • Pin obsidian to the npm 1.12.3 package so clean installs are reproducible instead of depending on the moving GitHub master tarball.

Why

This gives open source contributors a simple, reliable validation path and makes future plugin changes safer. During setup, the existing Obsidian GitHub tarball dependency failed clean install integrity checks because the branch tarball moved after the lockfile was generated, so the dependency is now pinned to a published package version.

Validation

  • npm ci
  • npm run ci

@rasulkireev rasulkireev marked this pull request as ready for review May 14, 2026 13:13
@rasulkireev rasulkireev merged commit cc8e0d3 into master May 14, 2026
1 check passed
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.

2 participants