Skip to content

Commit 2656d5b

Browse files
authored
Merge pull request #705 from xt0rted/node20
Target node 20
2 parents 3045703 + 379f978 commit 2656d5b

11 files changed

+1508
-2465
lines changed

Diff for: .github/dependabot.yml

+20-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,28 @@
11
version: 2
22
updates:
33

4-
- package-ecosystem: github-actions
4+
- package-ecosystem: "github-actions"
55
directory: "/"
66
schedule:
7-
interval: daily
8-
open-pull-requests-limit: 99
7+
interval: "weekly"
8+
groups:
9+
github-actions:
10+
patterns:
11+
- "actions/*"
12+
- "github/*"
913

10-
- package-ecosystem: npm
14+
- package-ecosystem: "npm"
1115
directory: "/"
1216
schedule:
13-
interval: daily
14-
open-pull-requests-limit: 99
15-
versioning-strategy: increase
17+
interval: "weekly"
18+
versioning-strategy: "increase"
19+
groups:
20+
actions:
21+
patterns:
22+
- "@actions/*"
23+
jest:
24+
patterns:
25+
- "@types/jest"
26+
- "jest"
27+
- "jest-*"
28+
- "ts-jest"

Diff for: .github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
node: [16, 17]
48+
node:
49+
- 20
50+
- 21
4951

5052
steps:
5153
- name: Checkout Repo

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
- Updated node runtime from 16 to 20
6+
- Bumped `@actions/cor` from 1.10.0 to 1.10.1
7+
58
## 2.0.0 - 2022-10-22
69

710
- Bumped `@actions/core` from 1.2.6 to 1.10.0

Diff for: __tests__/problemMatcher.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { matchResults } from "../__helpers__/utils";
2-
import { problemMatcher as problemMatcherJson } from "../.github/problem-matcher.json";
2+
import { problemMatcher as problemMatcherJson } from "../src/problem-matcher.json";
33

44
import type { ProblemMatcher, ProblemPattern } from "github-actions-problem-matcher-typings";
55

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ inputs:
1515
default: add
1616

1717
runs:
18-
using: "node16"
18+
using: "node20"
1919
main: "dist/index.js"

Diff for: jest.config.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
module.exports = {
1+
/** @type {import("ts-jest").JestConfigWithTsJest} */
2+
export default {
23
clearMocks: true,
34
collectCoverage: true,
45
collectCoverageFrom: [
@@ -8,18 +9,13 @@ module.exports = {
89
"!**/node_modules/**",
910
],
1011
coverageDirectory: "./coverage/",
11-
globals: {
12-
"ts-jest": {
13-
diagnostics: false,
14-
}
15-
},
1612
moduleFileExtensions: ["js", "ts"],
1713
reporters: ["default", "github-actions"],
1814
testEnvironment: "node",
1915
testMatch: ["**/*.test.ts"],
2016
testRunner: "jest-circus/runner",
2117
transform: {
22-
"^.+\\.ts$": "ts-jest",
18+
"^.+\\.ts$": ["ts-jest", { diagnostics: false }],
2319
},
2420
verbose: true,
2521
};

0 commit comments

Comments
 (0)