From 8659e5725995fe11c46da9fbd84dc24ae14d7f2b Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:10:18 +0000 Subject: [PATCH] Upgrade actions to versions using Node.js 20; update pin for JupyterLab as 4.1 is now released --- .github/workflows/build.yml | 32 +++++++++---------- .../workflows/update-integration-tests.yml | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adbac3e..3510c60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,13 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' architecture: 'x64' @@ -44,7 +44,7 @@ jobs: pip uninstall -y "jupyterlab-execute-time" jupyterlab - name: Upload extension packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: extension-artifacts path: dist/jupyterlab_execute_time* @@ -55,13 +55,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' architecture: 'x64' - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: extension-artifacts - name: Install and Test @@ -87,28 +87,28 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' architecture: 'x64' - name: Download extension package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: extension-artifacts - name: Install the extension run: | set -eux - python -m pip install "jupyterlab>=4.1.0rc1,<5" jupyterlab_execute_time*.whl + python -m pip install "jupyterlab>=4.1.0,<5" jupyterlab_execute_time*.whl - name: Install dependencies working-directory: ui-tests @@ -118,7 +118,7 @@ jobs: run: jlpm install - name: Set up browser cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/pw-browsers @@ -135,7 +135,7 @@ jobs: - name: Upload Playwright Test report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jupyterlab_execute_time-playwright-tests path: | diff --git a/.github/workflows/update-integration-tests.yml b/.github/workflows/update-integration-tests.yml index 1d278ad..fb17bb5 100644 --- a/.github/workflows/update-integration-tests.yml +++ b/.github/workflows/update-integration-tests.yml @@ -34,7 +34,7 @@ jobs: uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - name: Install dependencies - run: python -m pip install -U "jupyterlab>=4.1.0rc1,<5" + run: python -m pip install -U "jupyterlab>=4.1.0,<5" - name: Install extension run: |