Skip to content

Commit 3909684

Browse files
authored
Maintenance update (#333)
* Update dependencies * Adjust GH Actions and dependabot config
1 parent eabd9b7 commit 3909684

4 files changed

Lines changed: 303 additions & 115 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,14 @@
1-
# NatLibFi/KB maintenance strategy v2
1+
# NatLibFi/KB maintenance strategy
22

33
version: 2
44
updates:
5+
# Maintain dependencies for GitHub Actions
56
- package-ecosystem: "github-actions"
67
directory: "/"
78
schedule:
89
interval: "monthly"
10+
time: "06:30"
11+
timezone: "Europe/Helsinki"
912
target-branch: "test"
1013
pull-request-branch-name:
1114
separator: "-"
12-
13-
- package-ecosystem: "npm"
14-
directory: "/"
15-
schedule:
16-
interval: "monthly"
17-
versioning-strategy: increase-if-necessary
18-
target-branch: "test"
19-
groups:
20-
major-updates:
21-
update-types: ["major"]
22-
minor-updates:
23-
update-types: ["minor", "patch"]
24-
pull-request-branch-name:
25-
separator: "-"

.github/workflows/kb-node-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ jobs:
1818
- name: Checkout the code
1919
uses: actions/checkout@v7
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v6
21+
uses: actions/setup-node@v7
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
cache: "npm"
2525
env:
2626
NPM_CONFIG_IGNORE_SCRIPTS: true
2727
- run: npm audit --package-lock-only --omit=dev --audit-level=critical
28-
- run: npm ci
28+
- run: npm ci --ignore-scripts --min-release-age=7
29+
- run: npm rebuild sqlite3
2930
- run: npm test
3031
- run: npm run build --if-present
3132

0 commit comments

Comments
 (0)