-
Notifications
You must be signed in to change notification settings - Fork 600
52 lines (44 loc) · 1.27 KB
/
default_workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Default Workflow
concurrency:
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
cancel-in-progress: true
on:
pull_request:
push:
branches:
- "[0-9][0-9]_[0-9]"
env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
jobs:
main:
name: main
runs-on: devextreme-shr2
timeout-minutes: 30
steps:
- name: Get sources
uses: actions/checkout@v4
- name: Restore npm cache
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules
- name: Run npm install
run: npm ci --no-audit --no-fund
- name: Run targets
run: >
npx nx run-many
-t test
--exclude
devextreme
devextreme-themebuilder
devextreme-angular
devextreme-react
devextreme-vue
devextreme-react-storybook
devextreme-main
devextreme-angular-playground
devextreme-testcafe-tests
devextreme-demos
devextreme-react-playground
devextreme-vue-playground