mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Build/Test Tools: Update third-party GitHub Actions.
This updates the following third-party GitHub Actions to their latest versions: * Updates `actions/setup-node` from 4.0.1 to 4.0.2 * Updates `actions/upload-artifact` from 4.3.0 to 4.3.1 Props desrosj, thelovekesh. See #59805. git-svn-id: https://develop.svn.wordpress.org/trunk@57655 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
de1ed9c57b
commit
8ee7651d0e
@ -46,7 +46,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
@ -79,7 +79,7 @@ jobs:
|
|||||||
run: git diff --exit-code
|
run: git diff --exit-code
|
||||||
|
|
||||||
- name: Upload ZIP as a GitHub Actions artifact
|
- name: Upload ZIP as a GitHub Actions artifact
|
||||||
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||||
if: ${{ inputs.directory == 'build' && 'ubuntu-latest' == inputs.os }}
|
if: ${{ inputs.directory == 'build' && 'ubuntu-latest' == inputs.os }}
|
||||||
with:
|
with:
|
||||||
name: wordpress-build-${{ github.event_name == 'pull_request' && github.event.number || github.sha }}
|
name: wordpress-build-${{ github.event_name == 'pull_request' && github.event.number || github.sha }}
|
||||||
|
|||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|||||||
2
.github/workflows/coding-standards.yml
vendored
2
.github/workflows/coding-standards.yml
vendored
@ -152,7 +152,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|||||||
4
.github/workflows/end-to-end-tests.yml
vendored
4
.github/workflows/end-to-end-tests.yml
vendored
@ -76,7 +76,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
@ -127,7 +127,7 @@ jobs:
|
|||||||
run: npm run test:e2e
|
run: npm run test:e2e
|
||||||
|
|
||||||
- name: Archive debug artifacts (screenshots, HTML snapshots)
|
- name: Archive debug artifacts (screenshots, HTML snapshots)
|
||||||
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: failures-artifacts${{ matrix.LOCAL_SCRIPT_DEBUG && '-SCRIPT_DEBUG' || '' }}-${{ github.run_id }}
|
name: failures-artifacts${{ matrix.LOCAL_SCRIPT_DEBUG && '-SCRIPT_DEBUG' || '' }}-${{ github.run_id }}
|
||||||
|
|||||||
2
.github/workflows/javascript-tests.yml
vendored
2
.github/workflows/javascript-tests.yml
vendored
@ -67,7 +67,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|||||||
6
.github/workflows/performance.yml
vendored
6
.github/workflows/performance.yml
vendored
@ -110,7 +110,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
@ -192,7 +192,7 @@ jobs:
|
|||||||
git reset --hard $TARGET_SHA
|
git reset --hard $TARGET_SHA
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
@ -220,7 +220,7 @@ jobs:
|
|||||||
run: git reset --hard $GITHUB_SHA
|
run: git reset --hard $GITHUB_SHA
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|||||||
2
.github/workflows/phpunit-tests-run.yml
vendored
2
.github/workflows/phpunit-tests-run.yml
vendored
@ -90,7 +90,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|||||||
@ -131,7 +131,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
@ -187,7 +187,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Upload theme ZIP as an artifact
|
- name: Upload theme ZIP as an artifact
|
||||||
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
name: ${{ matrix.theme }}
|
name: ${{ matrix.theme }}
|
||||||
|
|||||||
2
.github/workflows/test-build-processes.yml
vendored
2
.github/workflows/test-build-processes.yml
vendored
@ -124,7 +124,7 @@ jobs:
|
|||||||
echo ${{ github.event.number }} > ./pr-number/NR
|
echo ${{ github.event.number }} > ./pr-number/NR
|
||||||
|
|
||||||
- name: Upload PR number as artifact
|
- name: Upload PR number as artifact
|
||||||
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||||
with:
|
with:
|
||||||
name: pr-number
|
name: pr-number
|
||||||
path: pr-number/
|
path: pr-number/
|
||||||
|
|||||||
2
.github/workflows/test-coverage.yml
vendored
2
.github/workflows/test-coverage.yml
vendored
@ -81,7 +81,7 @@ jobs:
|
|||||||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user