Skip to content

Commit

Permalink
ITDEV-537 - Dependency updates (#20)
Browse files Browse the repository at this point in the history
* Dependency updates

* improvement

* improvements

* fixes

* add new line
  • Loading branch information
fegbers authored Jan 31, 2025
1 parent aea1277 commit 884551b
Show file tree
Hide file tree
Showing 18 changed files with 1,051 additions and 8,014 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.json

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: test
run: |
npm install
npm test
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: test
run: |
npm install
npm test
3 changes: 1 addition & 2 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: project-version-check (integration-test)
id: actions_project_version_check
Expand Down Expand Up @@ -46,4 +46,3 @@ jobs:
- name: test
run: |
npm install
npm test
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .husky/pre-commit

ncc build src/index.js --minify && git add dist/index.js
3 changes: 0 additions & 3 deletions .jest/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions .jest/pom.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .jest/setEnvVars.js

This file was deleted.

1 change: 0 additions & 1 deletion .jest/version.txt

This file was deleted.

8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Is used to disable the whole version check and only return the project version a
### `version`

If the version update is valid then the new version is available as output. Usage:
```

``` yaml
- uses: avides/actions-project-version-check@latest
id: actions_project_version_check
with:
Expand All @@ -39,8 +40,9 @@ If the version update is valid then the new version is available as output. Usag
```
## Example usage
```
- uses: avides/[email protected]
``` yaml
- uses: avides/[email protected]
- with:
token: ${{ secrets.GITHUB_TOKEN }}
file-to-check: package.json
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ outputs:
version:
description: If the version update is valid then the new version is returned
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
12 changes: 4 additions & 8 deletions dist/index.js

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 [...compat.extends("eslint:recommended"), {
languageOptions: {
globals: {
...globals.commonjs,
...globals.node,
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},

ecmaVersion: 11,
sourceType: "module",
},

rules: {},
}];
4 changes: 0 additions & 4 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 884551b

Please sign in to comment.