Skip to content

Commit

Permalink
misc(ci): upgrade old actions (#16191)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Sep 19, 2024
1 parent 31bdd8a commit a17f36e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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/
2 changes: 1 addition & 1 deletion .github/workflows/cron-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/devtools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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/
2 changes: 1 addition & 1 deletion .github/workflows/package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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/
Expand All @@ -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

Expand All @@ -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/
Expand All @@ -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

Expand All @@ -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/
6 changes: 3 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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/
Expand All @@ -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

Expand Down

0 comments on commit a17f36e

Please sign in to comment.