@@ -12,13 +12,13 @@ jobs:
1212
1313 strategy :
1414 matrix :
15- node-version : [22.x]
15+ node-version : [22.x] # Latest LTS version
1616
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v4.1.1
1919
2020 - name : Use Node.js ${{ matrix.node-version }}
21- uses : actions/setup-node@v4
21+ uses : actions/setup-node@v4.0.2
2222 with :
2323 node-version : ${{ matrix.node-version }}
2424 cache : ' yarn'
2727 run : yarn install --frozen-lockfile
2828
2929 - name : Get Cypress cache
30- uses : actions/cache@v3
30+ uses : actions/cache@v4.0.1
3131 id : cypress-cache
3232 with :
3333 path : ~/.cache/Cypress
4040 run : yarn cypress install
4141
4242 - name : Run Cypress tests
43- uses : cypress-io/github-action@v6
43+ uses : cypress-io/github-action@v5.8.3
4444 with :
4545 start : yarn start
4646 wait-on : ' http://localhost:3000'
@@ -49,15 +49,15 @@ jobs:
4949 record : false
5050
5151 - name : Upload Cypress screenshots
52- uses : actions/upload-artifact@v3
52+ uses : actions/upload-artifact@v4.3.1
5353 if : failure()
5454 with :
5555 name : cypress-screenshots
5656 path : cypress/screenshots
5757 if-no-files-found : ignore
5858
5959 - name : Upload Cypress videos
60- uses : actions/upload-artifact@v3
60+ uses : actions/upload-artifact@v4.3.1
6161 if : always()
6262 with :
6363 name : cypress-videos
0 commit comments