10
10
browser :
11
11
runs-on : windows-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
- uses : nuget/setup-nuget@v1
15
- - uses : actions/setup-node@v1
15
+ - uses : actions/setup-node@v3
16
16
with :
17
17
node-version : 18
18
18
- run : npm install
33
33
34
34
steps :
35
35
- name : Checkout Project
36
- uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
36
+ uses : actions/checkout@v3
37
37
- name : Use Node.js ${{ matrix.node-version }}
38
- uses : actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # renovate: tag=v2
38
+ uses : actions/setup-node@v3
39
39
with :
40
40
node-version : ${{ matrix.node-version }}
41
41
cache : npm
45
45
- name : Run tests
46
46
run : npm test --coverage
47
47
- name : Store code coverage report
48
- uses : actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # renovate: tag=v2
48
+ uses : actions/upload-artifact@v3
49
49
with :
50
50
name : coverage
51
51
path : coverage/
@@ -61,34 +61,34 @@ jobs:
61
61
TS_NODE_PROJECT : ${{ matrix.ts-project }}
62
62
63
63
steps :
64
- - name : Checkout Project
65
- uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
66
- - name : Use Node.js ${{ matrix.node-version }}
67
- uses : actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # renovate: tag=v2
68
- with :
69
- node-version : ${{ matrix.node-version }}
70
- cache : npm
71
- registry-url : https://registry.npmjs.org/
72
- - run : npm cache clean --force
73
- - run : npm ci
74
- - run : npm run build --if-present
64
+ - name : Checkout Project
65
+ uses : actions/checkout@v3
66
+ - name : Use Node.js ${{ matrix.node-version }}
67
+ uses : actions/setup-node@v3
68
+ with :
69
+ node-version : ${{ matrix.node-version }}
70
+ cache : npm
71
+ registry-url : https://registry.npmjs.org/
72
+ - run : npm cache clean --force
73
+ - run : npm ci
74
+ - run : npm run build --if-present
75
75
76
76
Upload_Coverage_Report :
77
77
name : Upload coverage report to codecov
78
78
needs : [Testing]
79
79
runs-on : ubuntu-latest
80
80
steps :
81
81
- name : Checkout Project
82
- uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
82
+ uses : actions/checkout@v3
83
83
with :
84
84
fetch-depth : 2
85
85
- name : Download Coverage report
86
- uses : actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869 # renovate: tag=v2
86
+ uses : actions/download-artifact@v3
87
87
with :
88
88
name : coverage
89
89
path : coverage/
90
90
- name : Codecov Upload
91
- uses : codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # renovate: tag=v2
91
+ uses : codecov/codecov-action@v3
92
92
with :
93
93
directory : coverage/
94
- fail_ci_if_error : true
94
+ fail_ci_if_error : true
0 commit comments