mirror of
https://github.com/limrun-inc/skills.git
synced 2026-09-14 15:38:52 +08:00
64c2b4ff56
npm run bump raises distribution.json and regenerates manifests; CI fails PRs that change shipped files without a bump; merges to main tag and release new versions automatically.
28 lines
541 B
YAML
28 lines
541 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
cache: npm
|
|
|
|
- run: npm ci
|
|
- run: npm run validate
|
|
- run: npm run generate:check
|
|
- if: github.event_name == 'pull_request'
|
|
run: node scripts/check-version-bump.mjs origin/${{ github.base_ref }}
|
|
- run: npm run smoke:npx
|