@@ -26,14 +26,16 @@ jobs:
2626 runs-on : ${{ matrix.os }}
2727
2828 steps :
29- - name : Checkout codes
30- uses : actions/checkout@v4
29+ - name : Checkout
30+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
31+ with :
32+ fetch-depth : 0
3133
3234 - name : Install pnpm
33- uses : pnpm/action-setup@v4
35+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3436
3537 - name : Setup node
36- uses : actions/setup-node@v4
38+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3739 with :
3840 node-version : ${{ matrix.node }}
3941 cache : ' pnpm'
@@ -54,14 +56,16 @@ jobs:
5456 runs-on : ${{ matrix.os }}
5557
5658 steps :
57- - name : Checkout codes
58- uses : actions/checkout@v4
59+ - name : Checkout
60+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
61+ with :
62+ fetch-depth : 0
5963
6064 - name : Install pnpm
61- uses : pnpm/action-setup@v4
65+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
6266
6367 - name : Setup node
64- uses : actions/setup-node@v4
68+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6569 with :
6670 node-version : ${{ matrix.node }}
6771 cache : ' pnpm'
7579 npx tsx ./scripts/postprocess.ts
7680
7781 - name : Cache dist
78- uses : actions/cache@v4
82+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
7983 with :
8084 path : packages/*/dist
8185 key : build-vue-i18n-os-${{ matrix.os }}-${{ github.sha }}
@@ -90,14 +94,16 @@ jobs:
9094 runs-on : ${{ matrix.os }}
9195
9296 steps :
93- - name : Checkout codes
94- uses : actions/checkout@v4
97+ - name : Checkout
98+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
99+ with :
100+ fetch-depth : 0
95101
96102 - name : Install pnpm
97- uses : pnpm/action-setup@v4
103+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
98104
99105 - name : Setup node
100- uses : actions/setup-node@v4
106+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
101107 with :
102108 node-version : ${{ matrix.node }}
103109 cache : ' pnpm'
@@ -110,7 +116,7 @@ jobs:
110116 pnpm build:rolldown --withTypes
111117
112118 - name : Cache dist
113- uses : actions/cache@v4
119+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
114120 with :
115121 path : packages/*/dist
116122 key : build-rolldown-vue-i18n-os-${{ matrix.os }}-${{ github.sha }}
@@ -125,14 +131,16 @@ jobs:
125131 runs-on : ${{ matrix.os }}
126132
127133 steps :
128- - name : Checkout codes
129- uses : actions/checkout@v4
134+ - name : Checkout
135+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
136+ with :
137+ fetch-depth : 0
130138
131139 - name : Install pnpm
132- uses : pnpm/action-setup@v4
140+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
133141
134142 - name : Setup node
135- uses : actions/setup-node@v4
143+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
136144 with :
137145 node-version : ${{ matrix.node }}
138146 cache : ' pnpm'
@@ -158,14 +166,16 @@ jobs:
158166 runs-on : ${{ matrix.os }}
159167
160168 steps :
161- - name : Checkout codes
162- uses : actions/checkout@v4
169+ - name : Checkout
170+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
171+ with :
172+ fetch-depth : 0
163173
164174 - name : Install pnpm
165- uses : pnpm/action-setup@v4
175+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
166176
167177 - name : Setup node
168- uses : actions/setup-node@v4
178+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
169179 with :
170180 node-version : ${{ matrix.node }}
171181 cache : ' pnpm'
@@ -177,7 +187,7 @@ jobs:
177187 run : pnpm playwright-core install chromium
178188
179189 - name : Restore dist cache
180- uses : actions/cache@v4
190+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
181191 with :
182192 path : packages/*/dist
183193 key : build-vue-i18n-os-${{ matrix.os }}-${{ github.sha }}
@@ -199,14 +209,16 @@ jobs:
199209 runs-on : ${{ matrix.os }}
200210
201211 steps :
202- - name : Checkout codes
203- uses : actions/checkout@v4
212+ - name : Checkout
213+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
214+ with :
215+ fetch-depth : 0
204216
205217 - name : Install pnpm
206- uses : pnpm/action-setup@v4
218+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
207219
208220 - name : Setup node
209- uses : actions/setup-node@v4
221+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
210222 with :
211223 node-version : ${{ matrix.node }}
212224 cache : ' pnpm'
@@ -218,7 +230,7 @@ jobs:
218230 run : pnpm playwright-core install chromium
219231
220232 - name : Restore dist cache
221- uses : actions/cache@v4
233+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
222234 with :
223235 path : packages/*/dist
224236 key : build-rolldown-vue-i18n-os-${{ matrix.os }}-${{ github.sha }}
0 commit comments