Skip to content

Commit

Permalink
Merge pull request #705 from xt0rted/node20
Browse files Browse the repository at this point in the history
Target node 20
  • Loading branch information
xt0rted authored Feb 24, 2024
2 parents 3045703 + 379f978 commit 2656d5b
Show file tree
Hide file tree
Showing 11 changed files with 1,508 additions and 2,465 deletions.
27 changes: 20 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
version: 2
updates:

- package-ecosystem: github-actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 99
interval: "weekly"
groups:
github-actions:
patterns:
- "actions/*"
- "github/*"

- package-ecosystem: npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 99
versioning-strategy: increase
interval: "weekly"
versioning-strategy: "increase"
groups:
actions:
patterns:
- "@actions/*"
jest:
patterns:
- "@types/jest"
- "jest"
- "jest-*"
- "ts-jest"
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [16, 17]
node:
- 20
- 21

steps:
- name: Checkout Repo
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

- Updated node runtime from 16 to 20
- Bumped `@actions/cor` from 1.10.0 to 1.10.1

## 2.0.0 - 2022-10-22

- Bumped `@actions/core` from 1.2.6 to 1.10.0
Expand Down
2 changes: 1 addition & 1 deletion __tests__/problemMatcher.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { matchResults } from "../__helpers__/utils";
import { problemMatcher as problemMatcherJson } from "../.github/problem-matcher.json";
import { problemMatcher as problemMatcherJson } from "../src/problem-matcher.json";

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

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ inputs:
default: add

runs:
using: "node16"
using: "node20"
main: "dist/index.js"
10 changes: 3 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
/** @type {import("ts-jest").JestConfigWithTsJest} */
export default {
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: [
Expand All @@ -8,18 +9,13 @@ module.exports = {
"!**/node_modules/**",
],
coverageDirectory: "./coverage/",
globals: {
"ts-jest": {
diagnostics: false,
}
},
moduleFileExtensions: ["js", "ts"],
reporters: ["default", "github-actions"],
testEnvironment: "node",
testMatch: ["**/*.test.ts"],
testRunner: "jest-circus/runner",
transform: {
"^.+\\.ts$": "ts-jest",
"^.+\\.ts$": ["ts-jest", { diagnostics: false }],
},
verbose: true,
};
Expand Down
Loading

0 comments on commit 2656d5b

Please sign in to comment.