diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index d4f525c..aa64de7 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -14,12 +14,12 @@ jobs: steps: # Checkout the code in the pull request - name: 'Checkout source code' - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Cache node_modules to speed up the process - name: Restore node_modules cache id: cache-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: npm-${{ hashFiles('**/package-lock.json') }} @@ -46,8 +46,9 @@ jobs: # Upload LWC code coverage data - name: 'Upload code coverage for LWC to Codecov.io' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: LWC scratch-org-tests: @@ -63,7 +64,7 @@ jobs: # Checkout the code in the pull request - name: 'Checkout source code' - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Store secret for dev hub - name: 'Populate auth file with DEVHUB_SFDX_URL secret' @@ -102,8 +103,9 @@ jobs: # Upload Apex code coverage data - name: 'Upload code coverage for Apex to Codecov.io' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: Apex # Housekeeping diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4521baa..76ac335 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,12 @@ jobs: steps: # Checkout the code in the pull request - name: 'Checkout source code' - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Cache node_modules to speed up the process - name: Restore node_modules cache id: cache-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: npm-${{ hashFiles('**/package-lock.json') }} @@ -47,8 +47,9 @@ jobs: # Upload LWC code coverage data - name: 'Upload code coverage for LWC to Codecov.io' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: LWC scratch-org-tests: @@ -63,7 +64,7 @@ jobs: # Checkout the code in the pull request - name: 'Checkout source code' - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Store secret for dev hub - name: 'Populate auth file with DEVHUB_SFDX_URL secret' @@ -96,8 +97,9 @@ jobs: # Upload Apex code coverage data - name: 'Upload code coverage for Apex to Codecov.io' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: Apex # Housekeeping