Bump webpack from 5.89.0 to 5.94.0 #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.7', '3.8', '3.9', '3.10'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Necessary to get tags | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version}} | |
- name: Install Jupyter Lab | |
run: | | |
pip install -U jupyterlab~=3.6 | |
- name: Lint the extension | |
run: | | |
jlpm | |
jlpm run lint:check | |
- name: Get Release Version | |
uses: mtkennerly/dunamai-action@v1 | |
with: | |
env-var: NBD_JLE_VERSION | |
args: --style semver --format "{base}-dev.{distance}+{commit}" | |
- name: Set Version | |
run: | | |
echo "__version__ = '$NBD_JLE_VERSION'" > nbdefense_jupyter/_version.py | |
jlpm version --new-version $NBD_JLE_VERSION --no-git-tag-version --no-commit-hooks | |
- name: Install Dependencies | |
run: | | |
make install | |
- name: Check Extension | |
run: | | |
jupyter server extension enable nbdefense_jupyter | |
jupyter server extension list | |
jupyter server extension list 2>&1 | grep -ie "nbdefense_jupyter.*OK" | |
jupyter labextension list | |
jupyter labextension list 2>&1 | grep -ie "nbdefense-jupyter.*OK" | |
python -m jupyterlab.browser_check | |
- name: Package the extension | |
run: | | |
make build-prod | |
pip uninstall -y "nbdefense_jupyter" jupyterlab |