- Notifications
You must be signed in to change notification settings - Fork279
Upgrade styled-component + Unit test fixes + Publish packages workflows#617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
FalkWolsky merged 41 commits intolowcoder-org:devfromraheeliftikhar5:publish-comps-workflowJan 5, 2024
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
41 commits Select commitHold shift + click to select a range
54786b8
publish comps workflow
raheeliftikhar5ae43e5f
upgrade styles-components dependency
raheeliftikhar51e03ad2
updates after styled-compoents upgrade + fixing unit tests
raheeliftikhar53381113
unit test fixes
raheeliftikhar5ab73917
fixed unit tests
raheeliftikhar5c4f898a
test workflow
raheeliftikhar5796da3c
test workflow
raheeliftikhar552c9ceb
test workflow
raheeliftikhar55f060af
test workflow
raheeliftikhar526918a7
test workflow
raheeliftikhar5b4c0c16
test workflow
raheeliftikhar586ece8e
test workflow
raheeliftikhar596751cd
test workflow
raheeliftikhar51814ff6
test workflow
raheeliftikhar5763b6f1
test workflow
raheeliftikhar5a987f29
test workflow
raheeliftikhar5893d9fd
test workflow
raheeliftikhar57f73699
test workflow
raheeliftikhar5b87c556
test workflow
raheeliftikhar57f8e816
test workflow
raheeliftikhar51e702b2
test workflow
raheeliftikhar579ae92d
test workflow
raheeliftikhar58252f7e
test workflow
raheeliftikhar585feb40
test workflow
raheeliftikhar545d7cce
publish lowcoder-comps workflow
raheeliftikhar561f6c23
test lowcoder-cli pipeline
raheeliftikhar5a9abad1
test lowcoder-cli pipeline
raheeliftikhar51aa6c19
test lowcoder-cli pipeline
raheeliftikhar5954497f
test lowcoder-cli pipeline
raheeliftikhar574d17a7
test lowcoder-cli pipeline
raheeliftikhar541470f0
test lowcoder-cli pipeline
raheeliftikhar5a160f0b
test lowcoder-cli pipeline
raheeliftikhar5e90e3b3
publish lowcoder-cli workflow
raheeliftikhar592b6de6
test lowcoder-core pipeline
raheeliftikhar53a444fa
test lowcoder-core pipeline
raheeliftikhar504b61f2
publish lowcoder-core workflow
raheeliftikhar5c592c10
publish lowcoder-core workflow
raheeliftikhar54344485
test lowcoder-sdk pipeline
raheeliftikhar5b988fe1
test lowcoder-sdk pipeline
raheeliftikhar5520b626
publish lowcoder-sdk workflow
raheeliftikhar53fd234d
branch and access token update
raheeliftikhar5File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
47 changes: 47 additions & 0 deletions.github/workflows/publish-lowcoder-cli.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
name: Publish Lowcoder CLI | ||
on: | ||
push: | ||
branches: [ "dev" ] | ||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-cli/package.json | ||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-cli | ||
- name: Publish package to NPM | ||
if: steps.check.outputs.changed == 'true' | ||
run: npm publish | ||
working-directory: client/packages/lowcoder-cli | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
49 changes: 49 additions & 0 deletions.github/workflows/publish-lowcoder-comps.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
name: Publish Lowcoder Comps | ||
on: | ||
push: | ||
branches: [ "dev" ] | ||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-comps/package.json | ||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-comps | ||
- name: Publish | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: build_publish | ||
dir: client/packages/lowcoder-comps | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
47 changes: 47 additions & 0 deletions.github/workflows/publish-lowcoder-core.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
name: Publish Lowcoder Core | ||
on: | ||
push: | ||
branches: [ "dev" ] | ||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-core/package.json | ||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-core | ||
- name: Publish package to NPM | ||
if: steps.check.outputs.changed == 'true' | ||
run: npm publish | ||
working-directory: client/packages/lowcoder-core | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
54 changes: 54 additions & 0 deletions.github/workflows/publish-lowcoder-sdk.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
name: Publish Lowcoder SDK | ||
on: | ||
push: | ||
branches: [ "dev" ] | ||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-sdk/package.json | ||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-sdk | ||
- name: Build Package | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: build | ||
dir: client/packages/lowcoder-sdk | ||
- name: Publish package to NPM | ||
if: steps.check.outputs.changed == 'true' | ||
run: npm publish | ||
working-directory: client/packages/lowcoder-sdk | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
23 changes: 20 additions & 3 deletionsclient/config/test/jest.setup-after-env.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletionclient/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionclient/packages/lowcoder-cli/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletionsclient/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletionsclient/packages/lowcoder-comps/src/comps/calendarComp/calendarConstants.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionclient/packages/lowcoder-comps/src/comps/chartComp/chartConfigs/chartUrls.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletionsclient/packages/lowcoder-comps/src/comps/chartComp/chartUtils.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionclient/packages/lowcoder-comps/src/comps/imageEditorComp/imageEditorConstants.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionclient/packages/lowcoder-core/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.