Skip to content

Commit

Permalink
Bump webpack from 5.76.0 to 5.94.0 in /cirq-web/cirq_ts (#6715)
Browse files Browse the repository at this point in the history
* Bump webpack from 5.76.0 to 5.94.0 in /cirq-web/cirq_ts

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: [email protected]

* Make step names match up to what they're actually doing

* Name all steps for improved debugability

* Require version 20+ of Node in package.json

* Update package-lock.json for changes in package.json

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Hucka <[email protected]>
  • Loading branch information
dependabot[bot] and mhucka authored Sep 7, 2024
1 parent 19af193 commit ae028fe
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 315 deletions.
163 changes: 106 additions & 57 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
name: Misc check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -28,8 +30,10 @@ jobs:
name: Packaging test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -41,10 +45,12 @@ jobs:
name: Format check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Check out source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -56,8 +62,10 @@ jobs:
name: Type check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -69,10 +77,12 @@ jobs:
name: Changed files test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Check out source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -84,8 +94,10 @@ jobs:
name: Lint check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -99,8 +111,10 @@ jobs:
name: Doc test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -114,8 +128,10 @@ jobs:
name: Notebook formatting
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -127,7 +143,8 @@ jobs:
name: Shell check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Check out source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run shellcheck
Expand All @@ -136,8 +153,10 @@ jobs:
name: Isolated pytest Ubuntu
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -152,12 +171,15 @@ jobs:
python-version: ['3.10', '3.11', '3.12']
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- uses: actions/cache@v4
- name: Set up caching of dependencies
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
Expand All @@ -175,8 +197,10 @@ jobs:
name: Check consistency of requirements
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -189,10 +213,12 @@ jobs:
name: Build protos
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Check out source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
Expand All @@ -205,14 +231,17 @@ jobs:
name: Coverage check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Check out source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
- uses: actions/cache@v4
- name: Set up caching of dependencies
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
Expand All @@ -237,12 +266,15 @@ jobs:
python-version: ['3.10', '3.11', '3.12']
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- uses: actions/cache@v4
- name: Set up caching of dependencies
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
Expand All @@ -263,12 +295,15 @@ jobs:
# TODO(#6577): upgrade to macos-latest when it runs Python 3.10
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- uses: actions/cache@v4
- name: Set up caching of dependencies
uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}
Expand All @@ -288,18 +323,21 @@ jobs:
partition: [partition-0, partition-1, partition-2, partition-3]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Check out source repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
- name: Install requirements
run: pip install -r dev_tools/requirements/isolated-base.env.txt
- name: Notebook tests
run: check/pytest -n auto -m slow dev_tools/notebooks/isolated_notebook_test.py -k ${{matrix.partition}}
- uses: actions/upload-artifact@v4
- name: Persist the outputs
uses: actions/upload-artifact@v4
if: failure()
with:
name: notebook-outputs
Expand All @@ -308,16 +346,19 @@ jobs:
name: Notebook Tests against PR
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
- name: Install requirements
run: pip install -r dev_tools/requirements/notebooks.env.txt
- name: Notebook tests
run: check/pytest -n auto -m slow dev_tools/notebooks/notebook_test.py
- uses: actions/upload-artifact@v4
- name: Persist the outputs
uses: actions/upload-artifact@v4
if: failure()
with:
name: notebook-outputs
Expand All @@ -326,49 +367,57 @@ jobs:
name: Bundle file consistency
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Node environment
uses: actions/setup-node@v4
with:
node-version: '20.17.0'
- name: Install npm
- name: Install node dependencies
run: check/npm ci
- name: Check build matches the current
run: check/ts-build-current
ts-lint:
name: Typescript lint check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Node environment
uses: actions/setup-node@v4
with:
node-version: '20.17.0'
- name: Install npm
- name: Install node dependencies
run: check/npm ci
- name: Lint
- name: Lint Typescript files
run: check/ts-lint
ts-test:
name: Typescript tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Node environment
uses: actions/setup-node@v4
with:
node-version: '20.17.0'
- name: Install npm dependencies
- name: Install node dependencies
run: check/npm ci
- name: Unit tests
- name: Run unit tests
run: check/ts-test
- name: End to end tests
- name: Run end-to-end tests
run: check/ts-test-e2e
ts-coverage:
name: Typescript tests coverage
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Node environment
uses: actions/setup-node@v4
with:
node-version: '20.17.0'
- name: Install npm dependencies
- name: Install node dependencies
run: check/npm ci
- name: Test
- name: Run coverage test
run: check/ts-coverage
Loading

0 comments on commit ae028fe

Please sign in to comment.