Skip to content

Commit

Permalink
misc(ci): update actions using deprecated node12
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Jul 25, 2023
1 parent f60f4e4 commit 1cf9af4
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# https://github.com/actions/runner/issues/438
steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 100
- run: bash core/scripts/github-actions-commit-range.sh
Expand All @@ -29,7 +29,7 @@ jobs:
GITHUB_CONTEXT_BASE_SHA: ${{ github.event.before }}

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cron-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from /docs including all subfolders
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.github/workflows/markdown.links.config.json'
folder-path: 'docs/'
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from root but ignores subfolders
with:
Expand All @@ -30,9 +30,9 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: yarn --frozen-lockfile
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/devtools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
run: echo "$DEPOT_TOOLS_PATH" >> $GITHUB_PATH

- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: lighthouse

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand Down Expand Up @@ -87,12 +87,12 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: lighthouse

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand Down Expand Up @@ -132,12 +132,12 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: lighthouse

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: print latest_commit
run: echo ${{ github.sha }}

Expand All @@ -28,8 +28,8 @@ jobs:
(github.repository == 'GoogleChrome/lighthouse' && ${{ needs.check_date.outputs.should_run != 'false' }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Depth of at least 2 for codecov coverage diffs. See https://github.com/GoogleChrome/lighthouse/pull/12079
fetch-depth: 2

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand All @@ -62,7 +62,7 @@ jobs:
- name: Upload test coverage to Codecov
if: matrix.chrome-channel == 'ToT'
uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
with:
flags: smoke
file: ./smoke-coverage.lcov
Expand All @@ -88,11 +88,11 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3

# 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@v1
uses: actions/setup-node@v3
with:
node-version: 18.x

Expand Down Expand Up @@ -136,10 +136,10 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Depth of at least 2 for codecov coverage diffs. See https://github.com/GoogleChrome/lighthouse/pull/12079
fetch-depth: 2

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
yarn c8 report --reporter text-lcov > unit-coverage.lcov
- name: Upload test coverage to Codecov
if: ${{ matrix.node == env.LATEST_NODE }}
uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
with:
flags: unit
file: ./unit-coverage.lcov
Expand All @@ -91,10 +91,10 @@ jobs:

steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x

Expand Down

0 comments on commit 1cf9af4

Please sign in to comment.