chore: add publish engine actions

This commit is contained in:
liujuping 2023-12-13 14:58:54 +08:00
parent 546b22d8c8
commit 6dfe8ef223

View File

@ -4,8 +4,8 @@ on:
push: push:
# branches: # branches:
# - 'release/[0-9]+.[0-9]+.[0-9]+-beta' # - 'release/[0-9]+.[0-9]+.[0-9]+-beta'
paths: # paths:
- 'packages/**' # - 'packages/**'
jobs: jobs:
publish-engine: publish-engine:
@ -17,7 +17,7 @@ jobs:
with: with:
node-version: '14' node-version: '14'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- run: cd docs && npm install - run: npm install && npm run setup
- run: | - run: |
npm run build npm run build
- run: npm run pub:prerelease - run: npm run pub:prerelease