-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve build setup and switch to actions CI setup
# GLSP-1179 - Update tsconfig, eslint config and package.json to fully utilize composite typescript/eslint builds -- Compile typescript code from root instead of streaming to each package -- Remove lint and clean from prepare steps. Linting is the most expensive step and is already covered via vscode/ci. Manual execution is enough. Skipping the clean step per default ensures that we can fully utilize incremental ts builds -- Adapt linting commands to be executed with a single command from root instead of streaming to all packages Part of eclipse-glsp/glsp#1179 # GLSP 1154 - Update project configuration to also create projects for testing against firefox/edge if the MULTI_BROWSER env variable is set to true - Update to playwright 1.42.1. This is necessary to allow passing regexes/wildcards for the --project argument - Also report with `estruyf/github-actions-reporter` when running in CI Part of eclipse-glsp/glsp#1154
- Loading branch information
Showing
15 changed files
with
1,123 additions
and
1,079 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,35 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- testci | ||
pull_request: | ||
branches: | ||
- testci | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_and_lint: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.x | ||
- name: Install dependencies | ||
run: yarn install | ||
- name: Check for uncommitted changes in yarn.lock | ||
run: | | ||
if git diff --name-only | grep -q "^yarn.lock"; then | ||
echo "::error::The yarn.lock file has uncommitted changes!" | ||
exit 1 | ||
fi | ||
- name: ESLint Check | ||
run: yarn lint:ci | ||
continue-on-error: true | ||
- name: Annotate Code Linting Results | ||
uses: ataylorme/[email protected] | ||
with: | ||
report-json: "eslint_report.json" |
This file was deleted.
Oops, something went wrong.
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,10 +1,15 @@ | ||
GLSP_SERVER_DEBUG="true" # For Theia and VSCode instances to connect to an external server | ||
GLSP_SERVER_PORT="8081" | ||
GLSP_SERVER_PLAYWRIGHT_MANAGED="true" # To allow Playwright to manage/start the server | ||
GLSP_SERVER_PORT="8081" | ||
GLSP_SERVER_PLAYWRIGHT_MANAGED="true" # To allow Playwright to manage/start the server | ||
GLSP_WEBSOCKET_PATH="workflow" | ||
|
||
# Configurations | ||
STANDALONE_URL="file:///.../glsp-client/examples/workflow-standalone/app/diagram.html" | ||
THEIA_URL="http://localhost:3000" | ||
VSCODE_VSIX_ID="eclipse-glsp.workflow-vscode-example" | ||
VSCODE_VSIX_PATH="/.../glsp-vscode-integration/example/workflow/extension/workflow-vscode-example-1.1.0-next.vsix" | ||
|
||
## Additional configurations | ||
|
||
MULTI_BROWSER=false # Set to true to run the tests against multipe browser targets (chrome, firefox, edge) | ||
GLSP_SERVER_PLAYWRIGHT_MANAGED=true # Set to false to manage the server manually |
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
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
Oops, something went wrong.