-
Notifications
You must be signed in to change notification settings - Fork 0
103 lines (87 loc) · 2.13 KB
/
test-yarn-cache.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
name: 'Test yarn cache speeds'
on:
workflow_dispatch:
concurrency:
group: test-yarn-cache-${{ github.ref }}
cancel-in-progress: true
jobs:
###
# current
###
current-cold:
uses: ./.github/workflows/--yarn-install-current.yml
with:
cache-key: ${{ github.sha }}
current-warm:
needs: current-cold
uses: ./.github/workflows/--yarn-install-current.yml
with:
cache-key: ${{ github.sha }}
###
# current-2
###
current-2-cold:
uses: ./.github/workflows/--yarn-install-current-2.yml
with:
cache-key: ${{ github.sha }}
current-2-warm:
needs: current-2-cold
uses: ./.github/workflows/--yarn-install-current-2.yml
with:
cache-key: ${{ github.sha }}
###
# setup-node
###
setup-node-cold:
uses: ./.github/workflows/--yarn-install-setup-node.yml
setup-node-warm:
needs: setup-node-cold
uses: ./.github/workflows/--yarn-install-setup-node.yml
###
# cache-node-modules
###
cache-node-modules-cold:
uses: ./.github/workflows/--yarn-install-cache-node-modules.yml
with:
cache-key: ${{ github.sha }}
cache-node-modules-warm:
needs: cache-node-modules-cold
uses: ./.github/workflows/--yarn-install-cache-node-modules.yml
with:
cache-key: ${{ github.sha }}
###
# cache-both
###
cache-both-cold:
uses: ./.github/workflows/--yarn-install-cache-both.yml
with:
cache-key: ${{ github.sha }}
cache-both-warm:
needs: cache-both-cold
uses: ./.github/workflows/--yarn-install-cache-both.yml
with:
cache-key: ${{ github.sha }}
###
# cache-folder
###
cache-folder-cold:
uses: ./.github/workflows/--yarn-install-cache-folder.yml
with:
cache-key: ${{ github.sha }}
cache-folder-warm:
needs: cache-folder-cold
uses: ./.github/workflows/--yarn-install-cache-folder.yml
with:
cache-key: ${{ github.sha }}
###
# gist
###
gist-cold:
uses: ./.github/workflows/--yarn-install-gist.yml
with:
cache-key: ${{ github.sha }}
gist-warm:
needs: gist-cold
uses: ./.github/workflows/--yarn-install-gist.yml
with:
cache-key: ${{ github.sha }}