Skip to content

ci: Bump actions/setup-node from 5.0.0 to 6.4.0 #23

ci: Bump actions/setup-node from 5.0.0 to 6.4.0

ci: Bump actions/setup-node from 5.0.0 to 6.4.0 #23

name: Validate Cursor Plugin
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- ".cursor-plugin/**"
- ".github/**"
- ".gitignore"
- ".node-version"
- "assets/**"
- "mcp.json"
- "package.json"
- "package-lock.json"
- "README.md"
- "SUBMISSION.md"
- "rules/**"
- "agents/**"
- "commands/**"
- "schemas/**"
- "scripts/**"
- "CHANGELOG.md"
- "skills/**"
- "SECURITY.md"
- "LICENSE"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
validate:
name: Validate package
runs-on: ubuntu-latest
timeout-minutes: 15
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
steps:
- name: Checkout repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: ".node-version"
cache: npm
- name: Install dependencies
run: npm ci
- name: Audit dependencies (high or critical)
run: npm audit --audit-level=high
- name: Validate plugin and hosted health
run: npm run check