Skip to content
Merged
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,5 @@ jobs:
- uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
with:
ignore_links: 'https://github.com/deepnote/jupyterlab-deepnote/pull/ https://github.com/deepnote/jupyterlab-deepnote/issues/'
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ concurrency:
permissions:
contents: read
pull-requests: read
packages: read

jobs:
qlty:
Expand All @@ -32,6 +33,54 @@ jobs:

- name: Run qlty code smells analysis
run: qlty smells

audit-prod:
name: Audit - Production
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install dependencies
run: python -m pip install -U "jupyterlab>=4.0.0,<5"

- name: Install node dependencies
run: jlpm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run audit for production dependencies
run: jlpm npm audit --environment production
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

audit-all:
name: Audit - All
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install dependencies
run: python -m pip install -U "jupyterlab>=4.0.0,<5"

- name: Install node dependencies
run: jlpm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run audit for all dependencies
run: jlpm npm audit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

license-check:
name: License Check
Expand Down