66 pull_request :
77 types : [opened, synchronize, reopened, edited]
88
9+ permissions :
10+ contents : read
11+
912env :
1013 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
1114 NX_SELF_HOSTED_REMOTE_CACHE_ACCESS_TOKEN : ${{ secrets.NX_SELF_HOSTED_REMOTE_CACHE_ACCESS_TOKEN }}
@@ -18,23 +21,24 @@ jobs:
1821 runs-on : ubuntu-latest
1922 timeout-minutes : 60
2023 steps :
21- - uses : actions/checkout@v6
24+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2225 with :
2326 fetch-depth : 100
27+ persist-credentials : false
2428
2529 - name : Install pnpm
26- uses : pnpm/action-setup@v5
30+ uses : pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
2731
28- - uses : nrwl/nx-set-shas@v5
32+ - uses : nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5
2933
30- - uses : actions/setup-node@v6
34+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3135 with :
3236 cache : " pnpm"
3337 cache-dependency-path : " **/pnpm-lock.yaml"
3438 node-version-file : " .nvmrc"
3539
3640 - name : Cache NX
37- uses : actions/cache@v5
41+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
3842 with :
3943 path : .nx/cache
4044 key : nx-${{ env.NX_BRANCH }}-${{ env.NX_RUN_GROUP }}-${{ github.sha }}
5963 run : NEXTJS_TEST_MODE=build npx vitest run tests/src/unit/nextjs/serverUtil.test.ts
6064
6165 - name : Upload webpack stats artifact (editor)
62- uses : relative-ci/agent-upload-artifact-action@v2
66+ uses : relative-ci/agent-upload-artifact-action@a2b5741b4f7e6a989c84ec1a3059696b23c152e5 # v2
6367 with :
6468 webpackStatsFile : ./playground/dist/webpack-stats.json
6569 artifactName : relative-ci-artifacts-editor
@@ -73,23 +77,24 @@ jobs:
7377 runs-on : ubuntu-latest
7478 timeout-minutes : 30
7579 steps :
76- - uses : actions/checkout@v6
80+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7781 with :
7882 fetch-depth : 100
83+ persist-credentials : false
7984
8085 - name : Install pnpm
81- uses : pnpm/action-setup@v5
86+ uses : pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
8287
83- - uses : nrwl/nx-set-shas@v5
88+ - uses : nrwl/nx-set-shas@afb73a62d26e41464e9254689e1fd6122ee683c1 # v5
8489
85- - uses : actions/setup-node@v6
90+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
8691 with :
8792 cache : " pnpm"
8893 cache-dependency-path : " **/pnpm-lock.yaml"
8994 node-version-file : " .nvmrc"
9095
9196 - name : Cache NX
92- uses : actions/cache@v5
97+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
9398 with :
9499 path : .nx/cache
95100 key : nx-playwright-${{ env.NX_BRANCH }}-${{ env.NX_RUN_GROUP }}-${{ github.sha }}
@@ -105,7 +110,7 @@ jobs:
105110 run : pnpm run build
106111
107112 - name : Upload build artifacts
108- uses : actions/upload-artifact@v7
113+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
109114 with :
110115 name : playwright-build
111116 path : |
@@ -127,21 +132,22 @@ jobs:
127132 shardIndex : [1, 2]
128133 shardTotal : [2]
129134 steps :
130- - uses : actions/checkout@v6
135+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
131136 with :
132137 fetch-depth : 100
138+ persist-credentials : false
133139
134140 - name : Install pnpm
135- uses : pnpm/action-setup@v5
141+ uses : pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
136142
137- - uses : actions/setup-node@v6
143+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
138144 with :
139145 cache : " pnpm"
140146 cache-dependency-path : " **/pnpm-lock.yaml"
141147 node-version-file : " .nvmrc"
142148
143149 - name : Download build artifacts
144- uses : actions/download-artifact@v8
150+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
145151 with :
146152 name : playwright-build
147153
@@ -153,15 +159,15 @@ jobs:
153159 HOME=/root PLAYWRIGHT_CONFIG="--project ${{ matrix.browser }} --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}" pnpm run e2e
154160
155161 - name : Upload blob report
156- uses : actions/upload-artifact@v7
162+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
157163 if : ${{ !cancelled() }}
158164 with :
159165 name : blob-report-${{ matrix.browser }}-${{ matrix.shardIndex }}
160166 path : tests/blob-report/
161167 retention-days : 1
162168
163169 - name : Upload HTML report
164- uses : actions/upload-artifact@v7
170+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
165171 if : ${{ !cancelled() }}
166172 with :
167173 name : playwright-report-${{ matrix.browser }}-${{ matrix.shardIndex }}
@@ -174,12 +180,14 @@ jobs:
174180 needs : playwright
175181 runs-on : ubuntu-latest
176182 steps :
177- - uses : actions/checkout@v6
183+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
184+ with :
185+ persist-credentials : false
178186
179187 - name : Install pnpm
180- uses : pnpm/action-setup@v5
188+ uses : pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
181189
182- - uses : actions/setup-node@v6
190+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
183191 with :
184192 cache : " pnpm"
185193 cache-dependency-path : " **/pnpm-lock.yaml"
@@ -189,7 +197,7 @@ jobs:
189197 run : pnpm install
190198
191199 - name : Download blob reports
192- uses : actions/download-artifact@v8
200+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
193201 with :
194202 path : tests/all-blob-reports
195203 pattern : blob-report-*
@@ -200,7 +208,7 @@ jobs:
200208 working-directory : tests
201209
202210 - name : Upload merged HTML report
203- uses : actions/upload-artifact@v7
211+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
204212 with :
205213 name : playwright-report-merged
206214 path : tests/playwright-report/
0 commit comments