Skip to content

Commit 5b91b72

Browse files
committed
build: activate dependabot (#33)
1 parent 12e8734 commit 5b91b72

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

.github/dependabot.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
day: wednesday
8+
cooldown:
9+
default-days: 14
10+
open-pull-requests-limit: 3
11+
target-branch: "main"
12+
versioning-strategy: increase
13+
allow:
14+
- dependency-type: direct
15+
labels:
16+
- "build"
17+
commit-message:
18+
prefix: "build"
19+
include: "scope"
20+
groups:
21+
dev:
22+
dependency-type: "development"
23+
update-types:
24+
- "minor"
25+
- "patch"
26+
prod:
27+
dependency-type: "production"
28+
update-types:
29+
- "patch"
30+
31+
- package-ecosystem: github-actions
32+
directory: /
33+
schedule:
34+
interval: monthly
35+
day: wednesday
36+
cooldown:
37+
default-days: 14
38+
open-pull-requests-limit: 2
39+
target-branch: "main"
40+
labels:
41+
- "build"
42+
commit-message:
43+
prefix: "build"
44+
include: "scope"

.github/workflows/integration.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
${{ runner.os }}-${{ matrix.node-version }}-modules
3030
- name: Install Node.js packages
3131
if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }}
32-
run: npm install
32+
run: npm ci
33+
- name: Audit packages
34+
run: npm audit --audit-level=high
35+
continue-on-error: true
3336
- name: Lint and test
3437
run: npm test
3538
- name: Confirm integration

0 commit comments

Comments
 (0)