-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update publish workflow and add workflow for minor/major relea…
…ses (#6) * chore: update publish workflow and published package READMEs - Update publish CI workflow - Update trigger and only execute if CI workflow was successful - Use eclipse-emfcloud-bot to publish packages - Add READMEs and keywords for published packages Resolves GH-4 * chore: add manual workflow for minor/major releases
- Loading branch information
Showing
14 changed files
with
223 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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,73 @@ | ||
name: Release ModelHub Packages | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version-type: | ||
description: 'Version type to release (minor or major)' | ||
required: true | ||
default: 'minor' | ||
type: choice | ||
options: | ||
- minor | ||
- major | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
id-token: write | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4.2.0 | ||
with: | ||
fetch-depth: 0 # pulls all history and tags for Lerna to detect which packages changed | ||
|
||
- name: Setup Node 20 | ||
uses: actions/setup-node@v4.0.4 | ||
with: | ||
node-version: 20.x | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install tools and libraries | ||
run: sudo apt-get install -y build-essential libx11-dev libxkbfile-dev libsecret-1-dev | ||
|
||
- name: Use Python 3.11 | ||
uses: actions/setup-python@v5.2.0 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install and Build | ||
shell: bash | ||
run: | | ||
yarn global add node-gyp | ||
yarn --skip-integrity-check --network-timeout 100000 | ||
env: | ||
NODE_OPTIONS: --max_old_space_size=4096 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Lint with ESLint | ||
run: yarn lint | ||
|
||
- name: Run tests | ||
run: yarn test | ||
|
||
- name: Determine Version Type | ||
id: version_type | ||
run: echo "VERSION_TYPE=${{ github.event.inputs['version-type'] }}" >> $GITHUB_ENV | ||
|
||
- name: Publish packages | ||
run: | | ||
git config user.email 'eclipse-emfcloud-bot@eclipse.org' | ||
git config user.name 'eclipse-emfcloud-bot' | ||
# Using the chosen version type (minor or major) for Lerna publish | ||
yarn lerna version $VERSION_TYPE -y --ignore-scripts --loglevel=verbose --message "chore(release): publish ModelHub $VERSION_TYPE version" | ||
yarn lerna publish from-package -y --ignore-scripts --loglevel=verbose | ||
env: | ||
NPM_CONFIG_PROVENANCE: 'true' | ||
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} |
This file contains 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,19 @@ | ||
# Eclipse EMF Cloud Model Service for Eclipse Theia Applications | ||
|
||
Model Service for Eclipse Theia is a versatile solution designed to enhance Eclipse Theia applications by providing model management and interaction capabilities. | ||
|
||
For more information, please visit the [EMF Cloud Website](https://www.eclipse.org/emfcloud/). | ||
If you have questions, contact us on our [discussions page](https://github.com/eclipse-emfcloud/emfcloud/discussions) | ||
and have a look at our [communication and support options](https://www.eclipse.org/emfcloud/contact/). | ||
|
||
## License | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
<http://www.eclipse.org/legal/epl-2.0>. | ||
|
||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License v. 2.0 are satisfied: MIT. | ||
|
||
SPDX-License-Identifier: EPL-2.0 OR MIT |
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,3 +1,19 @@ | ||
# Model Accessor Bus | ||
# Eclipse EMF Cloud Model Accessor Bus | ||
|
||
The _Model Accessor Bus_ is an API allowing the retrieval of data coming from "models" primarily targeting JSON documents. | ||
|
||
For more information, please visit the [EMF Cloud Website](https://www.eclipse.org/emfcloud/). | ||
If you have questions, contact us on our [discussions page](https://github.com/eclipse-emfcloud/emfcloud/discussions) | ||
and have a look at our [communication and support options](https://www.eclipse.org/emfcloud/contact/). | ||
|
||
## License | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
<http://www.eclipse.org/legal/epl-2.0>. | ||
|
||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License v. 2.0 are satisfied: MIT. | ||
|
||
SPDX-License-Identifier: EPL-2.0 OR MIT |
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,3 +1,19 @@ | ||
# Model Manager | ||
# Eclipse EMF Cloud Model Manager | ||
|
||
The _Model Manager_ is an API for command-based editing, with undo/redo, of "models" primarily targeting JSON documents. | ||
|
||
For more information, please visit the [EMF Cloud Website](https://www.eclipse.org/emfcloud/). | ||
If you have questions, contact us on our [discussions page](https://github.com/eclipse-emfcloud/emfcloud/discussions) | ||
and have a look at our [communication and support options](https://www.eclipse.org/emfcloud/contact/). | ||
|
||
## License | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
<http://www.eclipse.org/legal/epl-2.0>. | ||
|
||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License v. 2.0 are satisfied: MIT. | ||
|
||
SPDX-License-Identifier: EPL-2.0 OR MIT |
This file contains 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
This file contains 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,19 @@ | ||
# Eclipse EMF Cloud Model Service | ||
|
||
Model Service provides a framework for model management. | ||
|
||
For more information, please visit the [EMF Cloud Website](https://www.eclipse.org/emfcloud/). | ||
If you have questions, contact us on our [discussions page](https://github.com/eclipse-emfcloud/emfcloud/discussions) | ||
and have a look at our [communication and support options](https://www.eclipse.org/emfcloud/contact/). | ||
|
||
## License | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
<http://www.eclipse.org/legal/epl-2.0>. | ||
|
||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License v. 2.0 are satisfied: MIT. | ||
|
||
SPDX-License-Identifier: EPL-2.0 OR MIT |
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,3 +1,19 @@ | ||
# Model Validation | ||
# Eclipse EMF Cloud Model Validation | ||
|
||
The _Model Validation_ package is an API for validation of models, where "models" primarily are JSON documents. | ||
|
||
For more information, please visit the [EMF Cloud Website](https://www.eclipse.org/emfcloud/). | ||
If you have questions, contact us on our [discussions page](https://github.com/eclipse-emfcloud/emfcloud/discussions) | ||
and have a look at our [communication and support options](https://www.eclipse.org/emfcloud/contact/). | ||
|
||
## License | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
<http://www.eclipse.org/legal/epl-2.0>. | ||
|
||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License v. 2.0 are satisfied: MIT. | ||
|
||
SPDX-License-Identifier: EPL-2.0 OR MIT |
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,3 +1,19 @@ | ||
# Trigger Engine | ||
# Eclipse EMF Cloud Trigger Engine | ||
|
||
The _Trigger Engine_ package is an API for computing follow-up changes to be applied to JSON documents after application of patches, to proactively ensure data integrity. | ||
|
||
For more information, please visit the [EMF Cloud Website](https://www.eclipse.org/emfcloud/). | ||
If you have questions, contact us on our [discussions page](https://github.com/eclipse-emfcloud/emfcloud/discussions) | ||
and have a look at our [communication and support options](https://www.eclipse.org/emfcloud/contact/). | ||
|
||
## License | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
<http://www.eclipse.org/legal/epl-2.0>. | ||
|
||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License v. 2.0 are satisfied: MIT. | ||
|
||
SPDX-License-Identifier: EPL-2.0 OR MIT |
This file contains 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