Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ updates:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 5
labels:
- "dependencies"
- "automated"
commit-message:
prefix: "chore"
include: "scope"
Expand All @@ -24,6 +21,3 @@ updates:
target-branch: "develop"
schedule:
interval: "weekly"
labels:
- "github-actions"
- "automated"
1 change: 0 additions & 1 deletion .github/workflows/cd-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Deploy to Production
on:
push:
branches: [main]
workflow_dispatch:

env:
NODE_VERSION: '20'
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/preflight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Preflight Release

on:
workflow_dispatch:
push:
branches:
- develop
- main

jobs:
preflight:
name: Preflight checks
runs-on: ubuntu-latest
timeout-minutes: 20
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run build
- name: Type check
run: npm run type-check
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Pack publishable packages
run: |
npm -w packages/core pack
npm -w packages/cli pack
npm -w packages/plugins/markdown pack
npm -w packages/plugins/examples pack
rm -f opensyntaxhq-*.tgz
- name: Publish dry-run (requires NPM_TOKEN)
if: ${{ env.NPM_TOKEN != '' }}
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm -w packages/core publish --dry-run
npm -w packages/cli publish --dry-run
npm -w packages/plugins/markdown publish --dry-run
npm -w packages/plugins/examples publish --dry-run
23 changes: 6 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@opensyntaxhq/autodocs-core": "^1.0.0",
"chalk": "^4.1.2",
"chalk": "^5.6.2",
"chokidar": "^5.0.0",
"commander": "^14.0.3",
"cosmiconfig": "^9.0.0",
Expand Down