Skip to content

Commit

Permalink
Added continue-on-error in correct positions
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed May 22, 2024
1 parent ca04d35 commit c00c2e7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
uses: green-coding-solutions/eco-ci-energy-estimation@v3
with:
task: start-measurement
continue-on-error: true

- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -19,7 +20,7 @@ jobs:
with:
task: get-measurement
label: "checkout"
continue-on-error: true
continue-on-error: true

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -32,7 +33,7 @@ jobs:
with:
task: get-measurement
label: "setup node"
continue-on-error: true
continue-on-error: true


- name: Install dependencies
Expand All @@ -43,7 +44,7 @@ jobs:
with:
task: get-measurement
label: "npm install"
continue-on-error: true
continue-on-error: true


- name: Run lint
Expand All @@ -54,7 +55,7 @@ jobs:
with:
task: get-measurement
label: "npm run lint"
continue-on-error: true
continue-on-error: true


- name: Run tests
Expand All @@ -65,11 +66,12 @@ jobs:
with:
task: get-measurement
label: "npm run test"
continue-on-error: true
continue-on-error: true

- name: Eco CI Energy Estimation - End Measurement
uses: green-coding-solutions/eco-ci-energy-estimation@v3
with:
task: display-results
pr-comment: true
continue-on-error: true

0 comments on commit c00c2e7

Please sign in to comment.