GeezerVison is showing github.com — chore: add publish engine actions · yoin528/lowcode-engine@271aef4
File tree
Expand file treeCollapse file tree
Open diff view settings
packages/editor-skeleton/src/layouts
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/publish docs.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
5 | 5 | branches: |
6 | 6 | - develop |
7 | 7 | paths: |
8 | | - - 'docs/**' |
| 8 | + - 'docs/docs/**' |
9 | 9 |
|
10 | 10 | jobs: |
11 | 11 | publish-docs: |
|
Collapse file
Copy file name to clipboard +30Lines changed: 30 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: Update and Publish Docs |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - 'release/[0-9]+.[0-9]+.[0-9]+-beta' |
| 7 | + paths: |
| 8 | + - 'packages/**' |
| 9 | + |
| 10 | +jobs: |
| 11 | + publish-engine: |
| 12 | + runs-on: ubuntu-latest |
| 13 | + steps: |
| 14 | + - uses: actions/checkout@v2 |
| 15 | + - name: Setup Node.js |
| 16 | + uses: actions/setup-node@v2 |
| 17 | + with: |
| 18 | + node-version: '14' |
| 19 | + registry-url: 'https://registry.npmjs.org' |
| 20 | + - run: npm install && npm run setup |
| 21 | + - run: | |
| 22 | + npm run build |
| 23 | + |
| 24 | + git config --local user.name "GitHub Action" |
| 25 | + - run: npm run pub:prerelease |
| 26 | + env: |
| 27 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 28 | + - name: Get version |
| 29 | + id: get_version |
| 30 | + run: echo "::set-output name=version::$(node -p "require('./docs/package.json').version")" |
Collapse file
Copy file name to clipboard +26Lines changed: 26 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: Update and Publish Docs |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + |
| 6 | +jobs: |
| 7 | + publish-engine: |
| 8 | + runs-on: ubuntu-latest |
| 9 | + steps: |
| 10 | + - uses: actions/checkout@v2 |
| 11 | + - name: Setup Node.js |
| 12 | + uses: actions/setup-node@v2 |
| 13 | + with: |
| 14 | + node-version: '14' |
| 15 | + registry-url: 'https://registry.npmjs.org' |
| 16 | + - run: npm install && npm run setup |
| 17 | + - run: | |
| 18 | + npm run build |
| 19 | + |
| 20 | + git config --local user.name "GitHub Action" |
| 21 | + - run: npm run pub |
| 22 | + env: |
| 23 | + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 24 | + - name: Get version |
| 25 | + id: get_version |
| 26 | + run: echo "::set-output name=version::$(node -p "require('./docs/package.json').version")" |
Collapse file
Copy file name to clipboardExpand all lines: package.json +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
20 | 20 | "lint:fix": "f2elint fix -i ./packages/*/src", |
21 | 21 | "lint:modules": "f2elint scan -q -i ./modules/*/src", |
22 | 22 | "lint:modules:fix": "f2elint fix -i ./modules/*/src", |
23 | | - "pub": "npm run watchdog:build && lerna publish patch --force-publish --exact --no-changelog", |
| 23 | + "pub": "npm run watchdog:build && lerna publish patch --yes --force-publish --exact --no-changelog", |
24 | 24 | "pub:premajor": "npm run watchdog:build && lerna publish premajor --force-publish --exact --dist-tag beta --preid beta --no-changelog", |
25 | 25 | "pub:preminor": "npm run watchdog:build && lerna publish preminor --force-publish --exact --dist-tag beta --preid beta --no-changelog", |
26 | 26 | "pub:prepatch": "npm run watchdog:build && lerna publish prepatch --force-publish --exact --dist-tag beta --preid beta --no-changelog", |
27 | | - "pub:prerelease": "npm run watchdog:build && lerna publish prerelease --force-publish --exact --dist-tag beta --preid beta --no-changelog", |
| 27 | + "pub:prerelease": "npm run watchdog:build && lerna publish prerelease --yes --force-publish --exact --dist-tag beta --preid beta --no-changelog", |
28 | 28 | "setup": "node ./scripts/setup.js", |
29 | 29 | "setup:test": "./scripts/setup-for-test.sh", |
30 | 30 | "setup:skip-build": "./scripts/setup-skip-build.sh", |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/editor-skeleton/src/layouts/workbench.less +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -105,6 +105,7 @@ body { |
105 | 105 | right: 0; |
106 | 106 | bottom: 0; |
107 | 107 | z-index: -1; |
| 108 | + overflow: hidden; |
108 | 109 |
|
109 | 110 | &.active { |
110 | 111 | z-index: 999; |
|