chore: update workflows
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: ./dist
|
path: ./dist
|
||||||
|
|||||||
@@ -114,9 +114,9 @@ jobs:
|
|||||||
TEST_SURVEY_RECORD_ID: ${{ vars.TEST_SURVEY_RECORD_ID }}
|
TEST_SURVEY_RECORD_ID: ${{ vars.TEST_SURVEY_RECORD_ID }}
|
||||||
TEST_TEXT_FIELD: ${{ vars.TEST_TEXT_FIELD }}
|
TEST_TEXT_FIELD: ${{ vars.TEST_TEXT_FIELD }}
|
||||||
- name: Upload test coverage artifact
|
- name: Upload test coverage artifact
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage-${{ matrix.node-version }}
|
||||||
path: ./coverage
|
path: ./coverage
|
||||||
publish_test_coverage:
|
publish_test_coverage:
|
||||||
needs: test
|
needs: test
|
||||||
@@ -128,7 +128,7 @@ jobs:
|
|||||||
- name: Download test coverage artifact
|
- name: Download test coverage artifact
|
||||||
uses: actions/download-artifact@v4.1.7
|
uses: actions/download-artifact@v4.1.7
|
||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage-20.x
|
||||||
path: ./coverage
|
path: ./coverage
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user