From a17f36e22415b3da38bd1f99c7053336884ea7e8 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Thu, 19 Sep 2024 11:35:45 -0700 Subject: [PATCH] misc(ci): upgrade old actions (#16191) --- .github/workflows/ci.yml | 4 ++-- .github/workflows/cron-weekly.yml | 2 +- .github/workflows/devtools.yml | 8 ++++---- .github/workflows/package-test.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/smoke.yml | 12 ++++++------ .github/workflows/unit.yml | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 527a5f4e0636..b16e1a6d34c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: GITHUB_CONTEXT_BASE_SHA: ${{ github.event.before }} - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -74,7 +74,7 @@ jobs: BT_API_AUTH_TOKEN: ${{ secrets.BT_API_AUTH_TOKEN }} - name: Upload dist - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: dist path: dist/ diff --git a/.github/workflows/cron-weekly.yml b/.github/workflows/cron-weekly.yml index 3a26c25c98f3..1efa3ab2af95 100644 --- a/.github/workflows/cron-weekly.yml +++ b/.github/workflows/cron-weekly.yml @@ -32,7 +32,7 @@ jobs: - name: git clone uses: actions/checkout@v4 - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x - run: yarn --frozen-lockfile diff --git a/.github/workflows/devtools.yml b/.github/workflows/devtools.yml index 638ee5dc84b2..7655bcb83e83 100644 --- a/.github/workflows/devtools.yml +++ b/.github/workflows/devtools.yml @@ -26,7 +26,7 @@ jobs: path: lighthouse - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -92,7 +92,7 @@ jobs: path: lighthouse - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -138,7 +138,7 @@ jobs: path: lighthouse - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -171,7 +171,7 @@ jobs: - name: Upload failures if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: Smokehouse (devtools smoke) path: ${{ github.workspace }}/lighthouse/.tmp/smokehouse-failures/ diff --git a/.github/workflows/package-test.yml b/.github/workflows/package-test.yml index 85853e0bac1b..27a2a6431674 100644 --- a/.github/workflows/package-test.yml +++ b/.github/workflows/package-test.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ab471561b07..ad00914e6b4a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 147854af6fbf..83c2547f0e83 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -37,7 +37,7 @@ jobs: fetch-depth: 2 - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -75,7 +75,7 @@ jobs: - name: Upload failures if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: Smokehouse (ubuntu; chrome ${{ matrix.chrome-channel }}) path: .tmp/smokehouse-failures/ @@ -95,7 +95,7 @@ jobs: # Use Node 18 here earlier than everywhere else, see https://github.com/GoogleChrome/lighthouse/issues/15160#issuecomment-1589913408 - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -118,7 +118,7 @@ jobs: - name: Upload failures if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: Smokehouse (windows) path: .tmp/smokehouse-failures/ @@ -143,7 +143,7 @@ jobs: uses: actions/checkout@v4 - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x @@ -162,7 +162,7 @@ jobs: - name: Upload failures if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: Smokehouse (bundled) path: .tmp/smokehouse-failures/ diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 6afdd03e3aca..0d755b182a20 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -30,7 +30,7 @@ jobs: fetch-depth: 2 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -85,7 +85,7 @@ jobs: - name: Upload failures if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: Unit (ubuntu; node ${{ matrix.node }}) path: .tmp/unit-failures/ @@ -100,7 +100,7 @@ jobs: uses: actions/checkout@v4 - name: Use Node.js 18.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x