Skip to content

fix: harden upstream sync recovery #14

fix: harden upstream sync recovery

fix: harden upstream sync recovery #14

Workflow file for this run

name: validate
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
skills:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 22]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: ${{ matrix.node }}
- run: npm test
meta-mode:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
- run: bun install --frozen-lockfile
working-directory: tools/meta-mode
- run: bun test
working-directory: tools/meta-mode
- run: bun run typecheck
working-directory: tools/meta-mode
upstream:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
repository: cursor/plugins
ref: 7366ac128bdf95f45e6734f412b49a4031800169
path: .upstream/cursor-plugins
sparse-checkout: pstack
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: 22
- run: node scripts/check-upstream.mjs --source .upstream/cursor-plugins/pstack --strict
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: 22
- run: npm run check-package