Skip to content

Commit d03deec

Browse files
authored
⬆️ Upgrade dependencies (#111)
* ⬆️ Upgrade dependencies * 🔧 Update @dependabot config * 👷 Update test setup * 👷 Delete CodeQL workflow file * 📌 Pin used action versions * 💚 Add dependancy check
1 parent 1a1987b commit d03deec

File tree

13 files changed

+766
-3837
lines changed

13 files changed

+766
-3837
lines changed

.eslintrc.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
"allow": [""]
1717
}
1818
],
19-
"no-console": "off",
20-
"filenames/match-regex": "off"
19+
"filenames/match-regex": "off",
20+
"import/named": "off",
21+
"import/namespace": "off",
22+
"import/no-deprecated": "off",
23+
"no-console": "off"
2124
}
2225
}

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ updates:
44
directory: '/'
55
schedule:
66
interval: 'monthly'
7+
groups:
8+
actions:
9+
patterns:
10+
- '*'
711
commit-message:
812
prefix: '🆙 action'
913
labels:
@@ -13,6 +17,10 @@ updates:
1317
directory: '/'
1418
schedule:
1519
interval: 'monthly'
20+
groups:
21+
npm:
22+
patterns:
23+
- '*'
1624
commit-message:
1725
prefix: '🆙 npm'
1826
include: 'scope'

.github/workflows/codeql.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,53 @@ on:
1212
paths-ignore:
1313
- '*.md'
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
test:
1720
runs-on: ubuntu-latest
1821

19-
permissions: read-all
20-
2122
env:
2223
CI: true
2324

2425
strategy:
26+
fail-fast: true
2527
matrix:
26-
node-version: [16.x, 18.x]
28+
node-version:
29+
- 20
30+
experimental: [false]
31+
include:
32+
- node-version: lts/*
33+
experimental: true
34+
35+
continue-on-error: ${{ matrix.experimental }}
36+
37+
concurrency:
38+
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.node-version }}-${{ matrix.experimental }}
39+
cancel-in-progress: true
2740

2841
steps:
29-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
42+
- name: Checkout
43+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
44+
45+
- name: Check repository dependency graph
46+
uses: actions/dependency-review-action@80f10bf419f34980065523f5efca7ebed17576aa
47+
if: ${{ github.event_name == 'pull_request' }}
3048

31-
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
49+
- name: Setup Node.js v${{ matrix.node-version }}
50+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
3251
with:
3352
node-version: ${{ matrix.node-version }}
3453
cache: 'npm'
3554

36-
- run: npm install --ignore-scripts --pure-lockfile
55+
- name: NPM config
56+
run: |
57+
npm pkg delete scripts.prepare
58+
npm install --ignore-scripts --pure-lockfile
3759
38-
- run: npm run build --if-present
60+
- name: Build
61+
run: npm run build --if-present
3962

40-
- run: npm run test --if-present
63+
- name: Test
64+
run: npm run test --if-present

0 commit comments

Comments
 (0)