File tree 1 file changed +20
-4
lines changed
1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
build :
15
-
16
15
runs-on : ubuntu-latest
17
-
18
16
strategy :
19
17
matrix :
20
18
node-version : [16.x]
21
-
22
19
steps :
23
- - uses : actions/checkout@v2
20
+ - name : Initialize Energy Estimation
21
+ uses : green-coding-berlin/eco-ci-energy-estimation@v1
22
+ with :
23
+ task : start-measurement
24
+ - name : " Checkout repository"
25
+ uses : actions/checkout@v3
26
+ - name : Checkout Repo Measurement
27
+ uses : green-coding-berlin/eco-ci-energy-estimation@v1
28
+ with :
29
+ task : get-measurement
30
+ label : ' repo checkout'
24
31
- name : Use Node.js ${{ matrix.node-version }}
25
32
uses : actions/setup-node@v3
26
33
with :
29
36
run : npm ci
30
37
- name : Npm build
31
38
run : npm run build --if-present
39
+ - name : Checkout Repo Measurement
40
+ uses : green-coding-berlin/eco-ci-energy-estimation@v1
41
+ with :
42
+ task : get-measurement
43
+ label : ' Npm activities'
44
+ - name : Show Energy Results
45
+ uses : green-coding-berlin/eco-ci-energy-estimation@v1
46
+ with :
47
+ task : display-results
You can’t perform that action at this time.
0 commit comments