Skip to content

Commit 04360cc

Browse files
authored
build: dependabot, packages cooldown (#273)
1 parent 0a22e4d commit 04360cc

7 files changed

Lines changed: 19 additions & 11 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ updates:
44
directory: /
55
schedule:
66
interval: weekly
7-
day: monday
7+
day: wednesday
8+
cooldown:
9+
default-days: 14
810
commit-message:
911
prefix: "build"
1012
include: "scope"
@@ -30,7 +32,9 @@ updates:
3032
directory: /
3133
schedule:
3234
interval: monthly
33-
day: monday
35+
day: wednesday
36+
cooldown:
37+
default-days: 14
3438
open-pull-requests-limit: 2
3539
target-branch: "main"
3640
labels:

.github/workflows/commit_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [20.x]
12+
node-version: [22.x]
1313
steps:
1414
- uses: actions/checkout@v5
1515
with:

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
# Coverage node version
28-
node-version: [20.x]
28+
node-version: [22.x]
2929
steps:
3030
- uses: actions/checkout@v5
3131
- uses: actions/configure-pages@v5
@@ -44,7 +44,7 @@ jobs:
4444
${{ runner.os }}-${{ matrix.node-version }}-modules
4545
- name: Install Node.js packages
4646
if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }}
47-
run: npm install
47+
run: npm ci
4848
- name: Setup coverage report
4949
run: npm run test:coverage
5050
- name: Upload artifact

.github/workflows/documentation_lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [20.x]
12+
node-version: [22.x]
1313
steps:
1414
- uses: actions/checkout@v5
1515
- name: Setup Node.js ${{ matrix.node-version }}
@@ -27,7 +27,7 @@ jobs:
2727
${{ runner.os }}-${{ matrix.node-version }}-modules
2828
- name: Install Node.js packages
2929
if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }}
30-
run: npm install
30+
run: npm ci
3131
- name: Build
3232
run: npm run build:docs
3333
- name: Git modified files

.github/workflows/integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
${{ runner.os }}-${{ matrix.node-version }}-modules
2828
- name: Install Node.js packages
2929
if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }}
30-
run: npm install
30+
run: npm ci
31+
- name: Audit packages
32+
run: npm audit --audit-level=high
3133
- name: Lint and test
3234
run: npm test
3335
- name: Confirm integration

.github/workflows/packages_lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [20.x]
12+
node-version: [22.x]
1313
steps:
1414
- uses: actions/checkout@v5
1515
- name: Setup Node.js ${{ matrix.node-version }}
@@ -27,7 +27,9 @@ jobs:
2727
${{ runner.os }}-${{ matrix.node-version }}-modules
2828
- name: Install Node.js packages
2929
if: ${{ steps.modules-cache.outputs.cache-hit != 'true' }}
30-
run: npm install
30+
run: npm ci
31+
- name: Audit packages
32+
run: npm audit --audit-level=high
3133
- name: Build
3234
run: npm run build:packages-lib
3335
- name: Git modified files

.github/workflows/publishing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
id-token: write
1313
strategy:
1414
matrix:
15-
node: [ 20.x ]
15+
node: [22.x]
1616
steps:
1717
- uses: actions/checkout@v5
1818
- name: Setup Node.js ${{ matrix.node-version }}

0 commit comments

Comments
 (0)