ReMe/.github/workflows/ci-dsh-plugin.yml
jinliyl 9ad3dafce5
Some checks failed
CI / DSH plugin / Validate DSH plugin (push) Has been cancelled
CI / OpenClaw plugin / Validate OpenClaw plugin (push) Has been cancelled
CI / Python packages / Build and verify distributions (push) Has been cancelled
CI / Python quality / GitHub Actions (push) Has been cancelled
CI / Python quality / Pre-commit (push) Has been cancelled
CI / Python tests / Unit Tests - py3.11 (push) Has been cancelled
CI / Python tests / Unit Tests - py3.12 (push) Has been cancelled
CI / Python tests / Unit Tests - py3.13 (push) Has been cancelled
CI / Python tests / Unit Tests - py3.14 (push) Has been cancelled
CI / ReMe Studio / Studio checks (push) Has been cancelled
CI / Windows / CLI smoke - py3.11 (push) Has been cancelled
Deploy / Documentation / Build documentation (push) Has been cancelled
Security / CodeQL / Analyze javascript-typescript (push) Has been cancelled
Security / CodeQL / Analyze python (push) Has been cancelled
Deploy / Documentation / deploy (push) Has been cancelled
chore(ci): harden and split workflows (#539)
* chore(ci): harden and split workflows

* fix(ci): support token-based npm publishing

* test: make disappearing resource check portable

* fix(ci): make Studio releases recoverable

* fix(ci): stop Studio publishing on cancellation
2026-09-11 18:21:49 +08:00

52 lines
1.3 KiB
YAML

name: CI / DSH plugin
on:
push:
branches: [main]
paths:
- ".github/workflows/ci-dsh-plugin.yml"
- ".github/workflows/_release-npm-plugin.yml"
- ".github/workflows/release-dsh-plugin.yml"
- "integrations/dsh/**"
pull_request:
branches: [main]
paths:
- ".github/workflows/ci-dsh-plugin.yml"
- ".github/workflows/_release-npm-plugin.yml"
- ".github/workflows/release-dsh-plugin.yml"
- "integrations/dsh/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
package:
name: Validate DSH plugin
runs-on: ubuntu-latest
timeout-minutes: 20
defaults:
run:
working-directory: integrations/dsh
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.16.0"
cache: npm
cache-dependency-path: integrations/dsh/package-lock.json
- run: npm ci
- run: npm run format:check
- run: npm run lint
- run: npm run typecheck
- run: npm test
- run: npm run test:package