Update actions (https://github.com/woocommerce/woocommerce-blocks/pull/8468)
* Update ataylorme/eslint-annotate-action to use node 16 * Update preactjs/compressed-size-action to use node 16 * Update actions/upload-artifact to v3
This commit is contained in:
parent
2ee332d4d4
commit
6d3ca74ba8
|
@ -13,7 +13,7 @@ jobs:
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
- uses: preactjs/compressed-size-action@v2
|
- uses: preactjs/compressed-size-action@265b0667736973f2d83b1a35fdc5440d6cb3322e
|
||||||
with:
|
with:
|
||||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
pattern: '{build/**/*.js,build/**/*.css}'
|
pattern: '{build/**/*.js,build/**/*.css}'
|
||||||
|
|
|
@ -69,7 +69,7 @@ jobs:
|
||||||
name: eslint_report.json
|
name: eslint_report.json
|
||||||
path: eslint_report.json
|
path: eslint_report.json
|
||||||
- name: Annotate code linting results
|
- name: Annotate code linting results
|
||||||
uses: ataylorme/eslint-annotate-action@1.2.0
|
uses: ataylorme/eslint-annotate-action@v2
|
||||||
with:
|
with:
|
||||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
report-json: 'eslint_report.json'
|
report-json: 'eslint_report.json'
|
||||||
|
|
|
@ -80,7 +80,7 @@ jobs:
|
||||||
path: reports/e2e
|
path: reports/e2e
|
||||||
|
|
||||||
- name: Archive flaky tests report
|
- name: Archive flaky tests report
|
||||||
uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571 # v2.2.2
|
uses: actions/upload-artifact@v3
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: flaky-tests-report-${{ matrix.part }}
|
name: flaky-tests-report-${{ matrix.part }}
|
||||||
|
|
Loading…
Reference in New Issue