Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ commands:
--output-file:/tmp/devworkspace-che-code-latest.yaml \
--injectDefaultComponent:true \
--defaultComponentImage:registry.access.redhat.com/ubi8/openjdk-11:latest
- id: instll-yarn4
exec:
label: "4. Install yarn v4"
component: builder
workingDir: ${PROJECTS_ROOT}/devworkspace-generator
commandLine: |
corepack enable
echo -e "Y" | yarn --version
events:
postStart:
- instll-yarn4
4 changes: 3 additions & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: Check dependencies usage restrictions
run: docker run --rm -t -v ${PWD}/:/workspace/project quay.io/che-incubator/dash-licenses:next --check
run: |
corepack enable
docker run --rm -t -v ${PWD}/:/workspace/project quay.io/che-incubator/dash-licenses:next --check
unit-tests:
runs-on: ubuntu-22.04
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"name": "@eclipse-che/che-devworkspace-generator",
"version": "7.114.0-next",
"private": false,
"description": "Generates DevWorkspaces by transforming existing devfiles",
"main": "lib/entrypoint.js",
"bin": {
"che-devworkspace-generator": "lib/entrypoint.js"
},
"bin": "lib/entrypoint.js",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -99,5 +96,5 @@
],
"preset": "ts-jest"
},
"packageManager": "yarn@1.22.22"
"packageManager": "yarn@4.12.0"
}
Loading