17
17
- name : Setup Node.js
18
18
uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
19
19
with :
20
- node-version : 20
20
+ node-version : 22
21
21
cache : ' yarn'
22
22
- name : Install dependencies
23
23
run : yarn --immutable
27
27
run : yarn test
28
28
- name : Upload unit test coverage
29
29
if : success()
30
- uses : codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
30
+ uses : codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5
31
31
with :
32
32
token : ${{ secrets.CODECOV_TOKEN }}
33
33
fail_ci_if_error : true
@@ -40,18 +40,15 @@ jobs:
40
40
- name : Setup Node.js
41
41
uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
42
42
with :
43
- node-version : 20
43
+ node-version : 22
44
44
cache : ' yarn'
45
45
- name : Install dependencies
46
- # Ubuntu 16+ does not install libgconf-2-4 by default, so we need to install it ourselves (for Cypress)
47
- run : |
48
- sudo apt-get install libgconf-2-4
49
- yarn --immutable
46
+ run : yarn --immutable
50
47
- name : Run e2e tests
51
48
run : yarn e2e
52
49
- name : Upload Cypress screenshots
53
50
if : failure()
54
- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
51
+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
55
52
with :
56
53
name : OperationsGateway Screenshots
57
54
path : cypress/screenshots
62
59
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
63
60
- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
64
61
with :
65
- node-version : 20
62
+ node-version : 22
66
63
cache : ' yarn'
67
64
68
65
- name : Install dependencies
72
69
run : yarn playwright:test:mocked
73
70
74
71
- name : Upload test report
75
- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
72
+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
76
73
if : always()
77
74
with :
78
75
name : playwright-report-mocked-tests
@@ -103,7 +100,7 @@ jobs:
103
100
with :
104
101
python-version : 3.9
105
102
- name : Load Pip cache
106
- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
103
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
107
104
with :
108
105
path : ~/.cache/pip
109
106
key : ubuntu-20.04-pip-3.9-${{ env.pythonLocation }}-${{ hashFiles('operationsgateway-api/.github/ci_requirements.txt') }}
@@ -138,7 +135,7 @@ jobs:
138
135
139
136
# Load Poetry virtual environment dependencies and install API dependencies
140
137
- name : Load Poetry cache
141
- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
138
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
142
139
with :
143
140
path : ~/.cache/pypoetry/virtualenvs
144
141
key : ubuntu-20.04-poetry-3.9-${{ env.pythonLocation }}-${{ hashFiles('poetry.lock') }}
@@ -210,7 +207,7 @@ jobs:
210
207
211
208
- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
212
209
with :
213
- node-version : 20
210
+ node-version : 22
214
211
cache : ' yarn'
215
212
216
213
- name : Install dependencies
@@ -220,7 +217,7 @@ jobs:
220
217
run : yarn playwright:test:real
221
218
222
219
- name : Upload test report
223
- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
220
+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
224
221
if : always()
225
222
with :
226
223
name : playwright-report-real-tests
0 commit comments