Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .devcontainer/devcontainer.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- {uses: actions/setup-node@v4, with: {node-version: 20, cache: 'npm'}}
- {uses: actions/setup-node@v4, with: {node-version-file: ./package.json, cache: 'npm'}}
- run: npm install
- run: npm run lint

Expand All @@ -41,7 +41,7 @@ jobs:
dist-changed: ${{ steps.state.outputs.changed }}
steps:
- uses: actions/checkout@v5
- {uses: actions/setup-node@v4, with: {node-version: 20, cache: 'npm'}}
- {uses: actions/setup-node@v4, with: {node-version-file: ./package.json, cache: 'npm'}}
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@v5
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.DEFAULT_GOAL := build
.MAIN := build

NODE_IMAGE = node:20-alpine
NODE_IMAGE = node:24-alpine
RUN_ARGS = --rm -v "$(shell pwd):/src:rw" \
-t --workdir "/src" \
-u "$(shell id -u):$(shell id -g)" \
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ outputs:
description: Path to the MMock binary file

runs:
using: node20
using: node24
main: dist/index.js

branding:
Expand Down
13 changes: 7 additions & 6 deletions dist/index.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import {defineConfig} from "eslint/config";
import globals from "globals";
import path from "node:path";
import {fileURLToPath} from "node:url";
import js from "@eslint/js";
import {FlatCompat} from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default defineConfig([{
extends: compat.extends("eslint:recommended"),
languageOptions: {
globals: {
...globals.commonjs,
...globals.node,
},
ecmaVersion: 2018,
sourceType: "module",
},
rules: {},
}]);
Loading