Skip to content
Merged
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
4 changes: 4 additions & 0 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
default: false
type: boolean

env:
NX_CLOUD_ACCESS_TOKEN: ${{ github.ref_name == github.event.repository.default_branch && secrets.NX_CLOUD_ACCESS_TOKEN || '' }}
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
build:
runs-on: devextreme-shr2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/default_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- "[0-9][0-9]_[0-9]"

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
main:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [26_1]

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
TS:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
branches: [26_1]

env:
NX_SKIP_NX_CACHE: true
MAX_LENGTH: 170

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playgrounds_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [26_1]

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qunit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
workflow_dispatch:

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}
RUN_ALL_TESTS: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [26_1]

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
jest-tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [26_1]

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
Tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testcafe_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
workflow_dispatch:

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}
RUN_TESTS: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/themebuilder_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [26_1]

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/visual-tests-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
workflow_dispatch:

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}
RUN_TESTS: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wrapper_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [26_1]

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wrapper_tests_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
workflow_dispatch:

env:
NX_SKIP_NX_CACHE: true
NX_SKIP_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'skip-cache') && 'true' || 'false' }}

jobs:
build-packages:
Expand Down
3 changes: 1 addition & 2 deletions apps/angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
],
"outputs": [
"{projectRoot}/dist"
],
"cache": true
]
}
},
"tags": []
Expand Down
21 changes: 7 additions & 14 deletions apps/demos/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"{projectRoot}/accessibility_report.txt",
"{projectRoot}/accessibility_testcafe_report",
"{projectRoot}/coverage"
],
"cache": true
]
},
"test-testcafe": {
"executor": "nx:run-script",
Expand Down Expand Up @@ -47,8 +46,7 @@
"{projectRoot}/accessibility_report.txt",
"{projectRoot}/accessibility_testcafe_report",
"{projectRoot}/testing/artifacts"
],
"cache": true
]
},
"prepare-bundles": {
"executor": "nx:run-script",
Expand All @@ -65,8 +63,7 @@
],
"outputs": [
"{projectRoot}/bundles"
],
"cache": true
]
},
"lint-js": {
"executor": "nx:run-script",
Expand All @@ -78,8 +75,7 @@
"test",
"!{projectRoot}/Demos/**/*",
"{projectRoot}/.eslint*"
],
"cache": true
]
},
"lint-css": {
"executor": "nx:run-script",
Expand All @@ -90,8 +86,7 @@
"{projectRoot}/Demos/**/*.css",
"{projectRoot}/Demos/**/*.vue",
"{projectRoot}/Demos/.stylelintrc.json"
],
"cache": true
]
},
"lint-html": {
"executor": "nx:run-script",
Expand All @@ -100,8 +95,7 @@
},
"inputs": [
"{projectRoot}/**/*"
],
"cache": true
]
},
"prepare-js": {
"executor": "nx:run-commands",
Expand All @@ -121,8 +115,7 @@
],
"outputs": [
"{projectRoot}/Demos/**/config.js"
],
"cache": true
]
}
},
"namedInputs": {
Expand Down
3 changes: 1 addition & 2 deletions apps/react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
],
"outputs": [
"{projectRoot}/public/js/app/bundle*"
],
"cache": true
]
}
},
"tags": []
Expand Down
3 changes: 1 addition & 2 deletions apps/vue/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
],
"outputs": [
"{projectRoot}/public/js/bundle*"
],
"cache": true
]
}
},
"tags": []
Expand Down
6 changes: 2 additions & 4 deletions e2e/testcafe-devextreme/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"inputs": [
"{projectRoot}/**/*.js",
"{projectRoot}/**/*.ts"
],
"cache": true
]
},
"test": {
"executor": "nx:run-script",
Expand All @@ -27,8 +26,7 @@
"{projectRoot}/.testcaferc.json",
"{projectRoot}/runner.ts",
"{projectRoot}/tsconfig.json"
],
"cache": true
]
}
},
"tags": []
Expand Down
9 changes: 3 additions & 6 deletions e2e/wrappers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
],
"outputs": [
"{projectRoot}/dist/react19/**/*"
],
"cache": true
]
},
"build:vue": {
"executor": "nx:run-script",
Expand All @@ -29,8 +28,7 @@
],
"outputs": [
"{projectRoot}/dist/vue/**/*"
],
"cache": true
]
},
"build:angular": {
"executor": "nx:run-script",
Expand All @@ -43,8 +41,7 @@
],
"outputs": [
"{projectRoot}/dist/angular/**/*"
],
"cache": true
]
}
},
"tags": []
Expand Down
14 changes: 4 additions & 10 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"build": {
"dependsOn": [
"^build"
],
"cache": true
]
},
"start": {
"dependsOn": [
Expand All @@ -34,15 +33,10 @@
"test": {
"dependsOn": [
"^build"
],
"cache": true
},
"lint": {
"cache": true
]
},
"e2e": {
"cache": true
}
"lint": {},
"e2e": {}
},
"workspaceLayout": {
"appsDir": "apps",
Expand Down
Loading
Loading