@@ -21,21 +21,27 @@ jobs:
2121
2222 steps :
2323 - name : Check out repository
24- uses : actions/checkout@v6
24+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2525 with :
2626 fetch-depth : 0
2727
28- - name : Set up Vite+
29- uses : voidzero-dev /setup-vp@v1
28+ - name : Set up Node.js
29+ uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3030 with :
3131 node-version-file : " .node-version"
32- cache : true
32+ cache : pnpm
33+
34+ - name : Enable Corepack
35+ run : corepack enable
36+
37+ - name : Install dependencies
38+ run : pnpm install --frozen-lockfile
3339
3440 - name : Verify repository
35- run : vp run verify
41+ run : pnpm run verify
3642
3743 - name : Smoke test packed install surface
38- run : vp run smoke:pack
44+ run : pnpm run smoke:pack
3945
4046 release :
4147 if : github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, '[skip ci]')
@@ -55,22 +61,28 @@ jobs:
5561
5662 steps :
5763 - name : Check out repository
58- uses : actions/checkout@v6
64+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5965 with :
6066 fetch-depth : 0
6167
62- - name : Set up Vite+
63- uses : voidzero-dev /setup-vp@v1
68+ - name : Set up Node.js
69+ uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
6470 with :
6571 node-version-file : " .node-version"
66- cache : true
72+ cache : pnpm
73+
74+ - name : Enable Corepack
75+ run : corepack enable
76+
77+ - name : Install dependencies
78+ run : pnpm install --frozen-lockfile
6779
6880 - name : Build package
69- run : vp pack
81+ run : pnpm run build
7082
7183 - name : Release package
7284 id : semantic
73- uses : cycjimmy/semantic-release-action@v6
85+ uses : cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
7486 with :
7587 extra_plugins : |
7688 @semantic-release/commit-analyzer
@@ -109,24 +121,28 @@ jobs:
109121
110122 steps :
111123 - name : Check out repository
112- uses : actions/checkout@v6
124+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
113125 with :
114126 fetch-depth : 0
127+ ref : ${{ needs.release.outputs.new_release_git_tag }}
115128
116- - name : Check out release tag
117- run : git checkout ${{ needs.release.outputs.new_release_git_tag }}
118-
119- - name : Set up Vite+
120- uses : voidzero-dev/setup-vp@v1
129+ - name : Set up Node.js
130+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
121131 with :
122132 node-version-file : " .node-version"
123- cache : true
133+ cache : pnpm
134+
135+ - name : Enable Corepack
136+ run : corepack enable
137+
138+ - name : Install dependencies
139+ run : pnpm install --frozen-lockfile
124140
125141 - name : Build SEA binary
126- run : vp run build:sea
142+ run : pnpm run build:sea
127143
128144 - name : Verify SEA binary
129- run : vp run verify:sea
145+ run : pnpm run verify:sea
130146
131147 - name : Package release assets
132148 shell : pwsh
@@ -151,7 +167,7 @@ jobs:
151167 run : Get-ChildItem .artifacts/release
152168
153169 - name : Upload binary assets to the GitHub release
154- uses : softprops/action-gh-release@v3
170+ uses : softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3
155171 with :
156172 tag_name : ${{ needs.release.outputs.new_release_git_tag }}
157173 files : |
@@ -169,24 +185,28 @@ jobs:
169185
170186 steps :
171187 - name : Check out repository
172- uses : actions/checkout@v6
188+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
173189 with :
174190 fetch-depth : 0
191+ ref : ${{ needs.release.outputs.new_release_git_tag }}
175192
176- - name : Check out release tag
177- run : git checkout ${{ needs.release.outputs.new_release_git_tag }}
178-
179- - name : Set up Vite+
180- uses : voidzero-dev/setup-vp@v1
193+ - name : Set up Node.js
194+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
181195 with :
182196 node-version-file : " .node-version"
183- cache : true
197+ cache : pnpm
198+
199+ - name : Enable Corepack
200+ run : corepack enable
201+
202+ - name : Install dependencies
203+ run : pnpm install --frozen-lockfile
184204
185205 - name : Build SEA binary
186- run : vp run build:sea
206+ run : pnpm run build:sea
187207
188208 - name : Verify SEA binary
189- run : vp run verify:sea
209+ run : pnpm run verify:sea
190210
191211 - name : Package release assets
192212 shell : pwsh
@@ -206,7 +226,7 @@ jobs:
206226 run : Get-ChildItem .artifacts/release
207227
208228 - name : Upload binary assets to the GitHub release
209- uses : softprops/action-gh-release@v3
229+ uses : softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3
210230 with :
211231 tag_name : ${{ needs.release.outputs.new_release_git_tag }}
212232 files : |
@@ -225,7 +245,7 @@ jobs:
225245
226246 steps :
227247 - name : Release to Homebrew tap
228- uses : Justintime50/homebrew-releaser@v3
248+ uses : Justintime50/homebrew-releaser@a62d7a359683bfc047cdb2431f53ee58241464d1 # v3
229249 with :
230250 homebrew_owner : putdotio
231251 homebrew_tap : homebrew-tap
0 commit comments