From 3493ed772975f983248f8cc1d95ea107d5fc5312 Mon Sep 17 00:00:00 2001 From: Tania Allard Date: Wed, 31 Jan 2024 12:20:06 +0000 Subject: [PATCH 1/2] :arrow_up: Bump GH actions --- .github/PULL_REQUEST_TEMPLATE.md | 8 +++- .github/workflows/build.yml | 8 ++-- .github/workflows/check-release.yml | 60 ----------------------------- 3 files changed, 11 insertions(+), 65 deletions(-) delete mode 100644 .github/workflows/check-release.yml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3bad6a4..53e31c7 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,8 @@ Fixes # . - + ## Description @@ -24,3 +26,7 @@ This pull request: ## Additional information + +## How to test + + \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13abbc8..16a486f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - name: 'Install dependencies ๐Ÿ“ฆ' - run: python -m pip install -U jupyterlab~=3.1 + run: python -m pip install -U "jupyterlab<4" - name: 'Lint the extension ๐Ÿงน' run: | @@ -68,7 +68,7 @@ jobs: uses: actions/checkout@v4 - name: 'Install Python ๐Ÿ' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' architecture: 'x64' @@ -85,7 +85,7 @@ jobs: sudo rm -rf $(which node) sudo rm -rf $(which node) - pip install "jupyterlab~=3.1" jupyterlab_conda_store*.whl + pip install "jupyterlab<4" jupyterlab_conda_store*.whl jupyter labextension list @@ -124,7 +124,7 @@ jobs: run: jlpm install - name: 'Set up browser cache' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ github.workspace }}/pw-browsers diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml deleted file mode 100644 index 2c22cef..0000000 --- a/.github/workflows/check-release.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Check Release -on: - push: - branches: - - none - -permissions: - contents: write - -jobs: - check_release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install Python - uses: actions/setup-python@v4 - with: - python-version: 3.9 - architecture: 'x64' - - name: Install node - uses: actions/setup-node@v3 - with: - node-version: '16.x' - - - - name: Get pip cache dir - id: pip-cache - run: | - echo "::set-output name=dir::$(pip cache dir)" - - name: Cache pip - uses: actions/cache@v1 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: ${{ runner.os }}-pip-${{ hashFiles('package.json') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Cache checked links - uses: actions/cache@v3 - with: - path: ~/.cache/pytest-link-check - key: ${{ runner.os }}-linkcheck-${{ hashFiles('**/.md') }}-md-links - restore-keys: | - ${{ runner.os }}-linkcheck- - - name: Upgrade packaging dependencies - run: | - pip install --upgrade pip setuptools wheel jupyter-packaging~=0.10 --user - - name: Install Dependencies - run: | - pip install . - - name: Check Release - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload Distributions - uses: actions/upload-artifact@v2 - with: - name: jupyterlab_conda_store-releaser-dist-${{ github.run_number }} - path: .jupyter_releaser_checkout/dist From 2b8728c8ad305c9b3ed10d9c2028759a797482d9 Mon Sep 17 00:00:00 2001 From: Tania Allard Date: Wed, 31 Jan 2024 12:48:31 +0000 Subject: [PATCH 2/2] :rotating_light: Fix lint issues --- .github/PULL_REQUEST_TEMPLATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 53e31c7..b816eae 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,7 @@ Fixes # . @@ -29,4 +29,4 @@ This pull request: ## How to test - \ No newline at end of file +