@@ -14,89 +14,45 @@ concurrency:
14
14
cancel-in-progress : true
15
15
16
16
jobs :
17
- install-cache :
18
- name : " Install Dependencies"
19
- runs-on : ubuntu-latest
20
- steps :
21
- - name : Checkout Commit
22
- uses : actions/checkout@v3
23
- - name : Setup Node.js
24
- uses : actions/setup-node@v3
25
- with :
26
- node-version-file : " .nvmrc"
27
- - name : Cache yarn dependencies
28
- uses : actions/cache@v3
29
- id : cache-dependencies
30
- with :
31
- path : node_modules
32
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
33
- restore-keys : |
34
- ${{ runner.ox }}-yarn-
35
- - name : Install Dependencies
36
- if : steps.cache-dependencies.outputs.cache-hit != 'true'
37
- run : |
38
- yarn install --frozen-lockfile
39
-
40
17
eslint :
41
18
name : " Eslint"
42
19
runs-on : ubuntu-latest
43
- needs : install-cache
44
20
steps :
45
21
- uses : actions/checkout@v3
46
22
- name : Setup Node.js
47
23
uses : actions/setup-node@v3
48
24
with :
49
25
node-version-file : " .nvmrc"
50
- - name : Restore yarn dependencies
51
- uses : actions/cache@v3
52
- id : cache-dependencies
53
- with :
54
- path : node_modules
55
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
56
- restore-keys : |
57
- ${{ runner.ox }}-yarn-
26
+ - name : Install Dependencies
27
+ run : yarn install --frozen-lockfile
58
28
- name : Lint Eslint
59
29
run : yarn lint-ci-eslint
60
30
61
31
stylelint :
62
32
name : " Stylelint"
63
33
runs-on : ubuntu-latest
64
- needs : install-cache
65
34
steps :
66
35
- uses : actions/checkout@v3
67
36
- name : Setup Node.js
68
37
uses : actions/setup-node@v3
69
38
with :
70
39
node-version-file : " .nvmrc"
71
- - name : Restore yarn dependencies
72
- uses : actions/cache@v3
73
- id : cache-dependencies
74
- with :
75
- path : node_modules
76
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
77
- restore-keys : |
78
- ${{ runner.ox }}-yarn-
40
+ - name : Install Dependencies
41
+ run : yarn install --frozen-lockfile
79
42
- name : Lint Stylelint
80
43
run : yarn lint-ci-style
81
44
82
45
build_and_tests :
83
46
name : " Build and Tests"
84
47
runs-on : ubuntu-latest
85
- needs : install-cache
86
48
steps :
87
49
- uses : actions/checkout@v3
88
50
- name : Setup Node.js
89
51
uses : actions/setup-node@v3
90
52
with :
91
53
node-version-file : " .nvmrc"
92
- - name : Restore yarn dependencies
93
- uses : actions/cache@v3
94
- id : cache-dependencies
95
- with :
96
- path : node_modules
97
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
98
- restore-keys : |
99
- ${{ runner.ox }}-yarn-
54
+ - name : Install Dependencies
55
+ run : yarn install --frozen-lockfile
100
56
- name : Build Packages
101
57
run : yarn build
102
58
- name : Run Jest
0 commit comments