6161
6262 steps :
6363 - name : Checkout code
64- uses : actions/checkout@v4
64+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6565 with :
6666 ref : ${{ github.ref }}
6767
8181
8282 - name : Upload screenshots on failure
8383 if : failure()
84- uses : actions/upload-artifact@v4
84+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8585 with :
8686 name : screenshots-${{ inputs.environment }}-${{ matrix.group }}
8787 path : ${{ env.WORKING_DIRECTORY }}/cypress/screenshots
@@ -107,7 +107,7 @@ jobs:
107107
108108 - name : Upload test results
109109 if : always()
110- uses : actions/upload-artifact@v4
110+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
111111 with :
112112 name : test-results-${{ matrix.group }}
113113 path : ${{ env.WORKING_DIRECTORY }}/cypress/reports/merged/*.json
@@ -122,10 +122,10 @@ jobs:
122122
123123 steps :
124124 - name : Checkout code
125- uses : actions/checkout@v4
125+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
126126
127127 - name : Setup Node.js
128- uses : actions/setup-node@v4
128+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
129129 with :
130130 node-version : ${{ env.NODE_VERSION }}
131131 cache : ' npm'
@@ -136,7 +136,7 @@ jobs:
136136 run : npm ci --ignore-scripts
137137
138138 - name : Download all test results
139- uses : actions/download-artifact@v4
139+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
140140 with :
141141 pattern : test-results-*
142142 path : ${{ env.WORKING_DIRECTORY }}/cypress/reports/mocha
@@ -149,7 +149,7 @@ jobs:
149149 npm run generate:html:report
150150
151151 - name : Upload combined report
152- uses : actions/upload-artifact@v4
152+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
153153 with :
154154 name : cypress-report-${{ inputs.environment }}
155155 path : ${{ env.WORKING_DIRECTORY }}/mochareports
0 commit comments