43 lines
857 B
YAML
43 lines
857 B
YAML
name: Check
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
- run: npm ci
|
|
- run: npm test
|
|
- run: npm run plugin:inspect:runtime
|
|
- run: npm run pack:check
|
|
- uses: actions/upload-artifact@v7
|
|
if: always()
|
|
with:
|
|
name: plugin-inspector-reports
|
|
path: reports/plugin-inspector-*
|
|
|
|
clawhub-dry-run:
|
|
if: github.event_name == 'pull_request'
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
uses: openclaw/clawhub/.github/workflows/package-publish.yml@main
|
|
with:
|
|
dry_run: true
|