@@ -24,14 +24,16 @@ jobs:
2424 runs-on : ${{ matrix.os }}
2525
2626 steps :
27- - name : Checkout codes
28- uses : actions/checkout@v4
27+ - name : Checkout
28+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
29+ with :
30+ fetch-depth : 0
2931
3032 - name : Install pnpm
31- uses : pnpm/action-setup@v4
33+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3234
3335 - name : Setup node
34- uses : actions/setup-node@v4
36+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3537 with :
3638 node-version : ${{ matrix.node }}
3739 cache : ' pnpm'
@@ -52,14 +54,16 @@ jobs:
5254 runs-on : ${{ matrix.os }}
5355
5456 steps :
55- - name : Checkout codes
56- uses : actions/checkout@v4
57+ - name : Checkout
58+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
59+ with :
60+ fetch-depth : 0
5761
5862 - name : Install pnpm
59- uses : pnpm/action-setup@v4
63+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
6064
6165 - name : Setup node
62- uses : actions/setup-node@v4
66+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6367 with :
6468 node-version : ${{ matrix.node }}
6569 cache : ' pnpm'
7377 npx tsx ./scripts/postprocess.ts
7478
7579 - name : Cache dist
76- uses : actions/cache@v4
80+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
7781 with :
7882 path : packages/*/dist
7983 key : build-vue-i18n-os-${{ matrix.os }}-${{ github.sha }}
@@ -88,14 +92,16 @@ jobs:
8892 runs-on : ${{ matrix.os }}
8993
9094 steps :
91- - name : Checkout codes
92- uses : actions/checkout@v4
95+ - name : Checkout
96+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
97+ with :
98+ fetch-depth : 0
9399
94100 - name : Install pnpm
95- uses : pnpm/action-setup@v4
101+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
96102
97103 - name : Setup node
98- uses : actions/setup-node@v4
104+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
99105 with :
100106 node-version : ${{ matrix.node }}
101107 cache : ' pnpm'
@@ -121,14 +127,16 @@ jobs:
121127 runs-on : ${{ matrix.os }}
122128
123129 steps :
124- - name : Checkout codes
125- uses : actions/checkout@v4
130+ - name : Checkout
131+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
132+ with :
133+ fetch-depth : 0
126134
127135 - name : Install pnpm
128- uses : pnpm/action-setup@v4
136+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
129137
130138 - name : Setup node
131- uses : actions/setup-node@v4
139+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
132140 with :
133141 node-version : ${{ matrix.node }}
134142 cache : ' pnpm'
@@ -140,7 +148,7 @@ jobs:
140148 run : pnpm playwright-core install chromium
141149
142150 - name : Restore dist cache
143- uses : actions/cache@v4
151+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
144152 with :
145153 path : packages/*/dist
146154 key : build-vue-i18n-os-${{ matrix.os }}-${{ github.sha }}
0 commit comments