File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 40
40
- name : Installing dependencies
41
41
if : steps.admin-node_modules-cache.outputs.cache-hit != 'true'
42
42
run : npm ci
43
+ - name : Get Cypress version
44
+ run : echo "CYPRESS_VERSION=`npm list | grep 'cypress'|sed 's/.*cypress@//'`" >> $GITHUB_ENV
45
+ - name : Cypress Binaries cache
46
+ id : cypress-cache
47
+ uses : actions/cache@v4
48
+ with :
49
+ path : |
50
+ ~/.cache/Cypress
51
+ key : cypress-${{ env.CYPRESS_VERSION }}
52
+ - name : Install Cypress binaries
53
+ if : steps.cypress-cache.outputs.cache-hit != 'true'
54
+ run : npx cypress install
43
55
- name : Build
44
56
run : npm run build
45
57
- name : Running Test
66
78
- name : Installing dependencies
67
79
if : steps.candidate-node_modules-cache.outputs.cache-hit != 'true'
68
80
run : npm ci
81
+ - name : Get Cypress version
82
+ run : echo "CYPRESS_VERSION=`npm list | grep 'cypress'|sed 's/.*cypress@//'`" >> $GITHUB_ENV
83
+ - name : Cypress Binaries cache
84
+ id : cypress-cache
85
+ uses : actions/cache@v4
86
+ with :
87
+ path : |
88
+ ~/.cache/Cypress
89
+ key : cypress-${{ env.CYPRESS_VERSION }}
90
+ - name : Install Cypress binaries
91
+ if : steps.cypress-cache.outputs.cache-hit != 'true'
92
+ run : npx cypress install
69
93
- name : Build
70
94
run : npm run build
71
95
- name : Running Test
You can’t perform that action at this time.
0 commit comments