Skip to content

Commit f2d32e5

Browse files
committed
fix: restore plugin validation workflow
Track the npm lockfile and modernize the GitHub Actions workflow so validation installs dependencies reliably and stays aligned with the Node 24 transition. Made-with: Cursor
1 parent 396b19a commit f2d32e5

4 files changed

Lines changed: 120 additions & 5 deletions

File tree

.github/workflows/validate-plugin.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ jobs:
2323
validate:
2424
name: Validate package structure
2525
runs-on: ubuntu-latest
26+
env:
27+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
2628

2729
steps:
2830
- name: Checkout repository
29-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3032

3133
- name: Setup Node.js
32-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@v5
3335
with:
34-
node-version: "20"
36+
node-version: "22"
3537

3638
- name: Install dependencies
3739
run: npm ci

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
.DS_Store
3+
!package-lock.json

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,34 @@ The broader REST API and OpenAPI snapshot include additional surfaces, but this
5555

5656
## Quick Start
5757

58-
Install the plugin from GitHub today, or from the Cursor marketplace after approval.
58+
You can use this plugin in three ways:
59+
60+
- install it from the Cursor marketplace after approval
61+
- import the repository into a Cursor team marketplace for internal distribution
62+
- symlink it locally for development and pre-submission testing
63+
64+
### Install from the marketplace
65+
66+
After approval, install the plugin from the marketplace panel in Cursor.
67+
68+
### Import as a team marketplace
69+
70+
For private team distribution in Cursor:
71+
72+
1. Open `Dashboard -> Settings -> Plugins`.
73+
2. In `Team Marketplaces`, click `Import`.
74+
3. Paste `https://github.com/LeadMagic/leadmagic-cursor-plugin`.
75+
4. Review the parsed plugin and save the marketplace.
76+
77+
### Install locally for testing
5978

6079
### 1. Set your API key
6180

6281
```bash
6382
export LEADMAGIC_API_KEY="your_api_key_here"
6483
```
6584

66-
### 2. Install the plugin locally for testing
85+
### 2. Link the repository into Cursor
6786

6887
If you are using this repository locally:
6988

package-lock.json

Lines changed: 93 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)