Skip to content

Commit a93ea30

Browse files
fix: move audit jobs from build.yml to ci.yml
Move Audit - Production and Audit - All jobs to ci.yml as requested. Audit jobs should be in ci.yml, not build.yml.
1 parent 900bd9c commit a93ea30

File tree

2 files changed

+48
-48
lines changed

2 files changed

+48
-48
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -171,51 +171,3 @@ jobs:
171171
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
172172
with:
173173
ignore_links: 'https://github.com/deepnote/jupyterlab-deepnote/pull/ https://github.com/deepnote/jupyterlab-deepnote/issues/'
174-
175-
audit-prod:
176-
name: Audit - Production
177-
runs-on: ubuntu-latest
178-
timeout-minutes: 15
179-
steps:
180-
- name: Checkout
181-
uses: actions/checkout@v4
182-
183-
- name: Base Setup
184-
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
185-
186-
- name: Install dependencies
187-
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
188-
189-
- name: Install node dependencies
190-
run: jlpm
191-
env:
192-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
193-
194-
- name: Run audit for production dependencies
195-
run: jlpm audit --groups "dependencies"
196-
env:
197-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
198-
199-
audit-all:
200-
name: Audit - All
201-
runs-on: ubuntu-latest
202-
timeout-minutes: 15
203-
steps:
204-
- name: Checkout
205-
uses: actions/checkout@v4
206-
207-
- name: Base Setup
208-
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
209-
210-
- name: Install dependencies
211-
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
212-
213-
- name: Install node dependencies
214-
run: jlpm
215-
env:
216-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
217-
218-
- name: Run audit for all dependencies
219-
run: jlpm audit
220-
env:
221-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,51 @@ jobs:
3232

3333
- name: Run qlty code smells analysis
3434
run: qlty smells
35+
36+
audit-prod:
37+
name: Audit - Production
38+
runs-on: ubuntu-latest
39+
timeout-minutes: 15
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v4
43+
44+
- name: Base Setup
45+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
46+
47+
- name: Install dependencies
48+
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
49+
50+
- name: Install node dependencies
51+
run: jlpm
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
55+
- name: Run audit for production dependencies
56+
run: jlpm audit --groups "dependencies"
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
60+
audit-all:
61+
name: Audit - All
62+
runs-on: ubuntu-latest
63+
timeout-minutes: 15
64+
steps:
65+
- name: Checkout
66+
uses: actions/checkout@v4
67+
68+
- name: Base Setup
69+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
70+
71+
- name: Install dependencies
72+
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
73+
74+
- name: Install node dependencies
75+
run: jlpm
76+
env:
77+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
79+
- name: Run audit for all dependencies
80+
run: jlpm audit
81+
env:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)