Skip to content

Commit 5af3dea

Browse files
authored
Update Dependencies (#2)
* Update All Dependencies * Upgrade ESLint from v8 to v9
1 parent ea5614c commit 5af3dea

File tree

8 files changed

+6157
-3506
lines changed

8 files changed

+6157
-3506
lines changed

.eslintrc.json

-13
This file was deleted.

.github/workflows/test.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: "Test"
22

33
on:
44
workflow_dispatch:
5+
pull_request:
56
push:
7+
branches: [master]
68

79
jobs:
810
test:
@@ -24,7 +26,7 @@ jobs:
2426
scripts.lint
2527
values: |
2628
json-key-value-check-action
27-
npx eslint src --ext .ts
29+
npx eslint src
2830
2931
lint:
3032
name: "Lint"

.prettierrc.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
{
22
"trailingComma": "es5",
3-
"tabWidth": 4,
43
"semi": false,
54
"singleQuote": true,
65
"overrides": [
76
{
8-
"files": ["**/*.json", "**/*.yaml", "**/*.yml"],
7+
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
98
"options": {
109
"singleQuote": false
1110
}
1211
},
1312
{
14-
"files": ["**/*.json", "**/*.yaml", "**/*.yml"],
13+
"files": ["**/*.js", "**/*.css", "**/*.scss"],
1514
"options": {
16-
"tabWidth": 2
15+
"tabWidth": 4
1716
}
1817
}
1918
]

README.md

+33-32
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
Check that JSON Key's Values Match Provided Values.
1414

15-
- [Inputs](#Inputs)
16-
- [Examples](#Examples)
17-
- [Support](#Support)
18-
- [Contributing](#Contributing)
15+
- [Inputs](#Inputs)
16+
- [Examples](#Examples)
17+
- [Support](#Support)
18+
- [Contributing](#Contributing)
1919

2020
> [!NOTE]
2121
> Please submit
@@ -39,9 +39,9 @@ For multiple `keys` and `values` use new lines with a yaml `|`.
3939
- name: 'Verify JSON'
4040
uses: cssnr/json-key-value-check-action@v1
4141
with:
42-
file: manifest.json
43-
keys: version
44-
values: ${{ github.ref_name }}
42+
file: manifest.json
43+
keys: version
44+
values: ${{ github.ref_name }}
4545
```
4646
4747
Same as above but also setting an additional key value pair.
@@ -50,13 +50,13 @@ Same as above but also setting an additional key value pair.
5050
- name: 'Verify JSON'
5151
uses: cssnr/json-key-value-check-action@v1
5252
with:
53-
file: manifest.json
54-
keys: |
55-
version
56-
version_name
57-
values: |
58-
${{ github.ref_name }}
59-
"Release ${{ github.ref_name }}"
53+
file: manifest.json
54+
keys: |
55+
version
56+
version_name
57+
values: |
58+
${{ github.ref_name }}
59+
"Release ${{ github.ref_name }}"
6060
```
6161
6262
Set a nested key and use file from different directory.
@@ -65,39 +65,40 @@ Set a nested key and use file from different directory.
6565
- name: 'Verify JSON'
6666
uses: cssnr/json-key-value-check-action@v1
6767
with:
68-
file: src/manifest.json
69-
keys: |
70-
meta.version
71-
values: |
72-
"Release ${{ github.ref_name }}"
68+
file: src/manifest.json
69+
keys: |
70+
meta.version
71+
values: |
72+
"Release ${{ github.ref_name }}"
7373
```
7474
7575
# Support
7676
7777
For general help or to request a feature, see:
7878
79-
- Q&A Discussion: https://github.com/cssnr/json-key-value-check-action/discussions/categories/q-a
80-
- Request a Feature: https://github.com/cssnr/json-key-value-check-action/discussions/categories/feature-requests
79+
- Q&A Discussion: https://github.com/cssnr/json-key-value-check-action/discussions/categories/q-a
80+
- Request a Feature: https://github.com/cssnr/json-key-value-check-action/discussions/categories/feature-requests
8181
8282
If you are experiencing an issue/bug or getting unexpected results, you can:
8383
84-
- Report an Issue: https://github.com/cssnr/json-key-value-check-action/issues
85-
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
86-
- Provide General
87-
Feedback: [https://cssnr.github.io/feedback/](https://cssnr.github.io/feedback)
84+
- Report an Issue: https://github.com/cssnr/json-key-value-check-action/issues
85+
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
86+
- Provide General
87+
Feedback: [https://cssnr.github.io/feedback/](https://cssnr.github.io/feedback)
8888
8989
# Contributing
9090
9191
Currently, the best way to contribute to this project is to star this project on GitHub.
9292
9393
Additionally, you can support other GitHub Actions I have published:
9494
95-
- [VirusTotal Action](https://github.com/cssnr/virustotal-action)
96-
- [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action)
97-
- [Update JSON Value Action](https://github.com/cssnr/update-json-value-action)
98-
- [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action)
99-
- [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action)
100-
- [Portainer Stack Deploy](https://github.com/cssnr/portainer-stack-deploy-action)
101-
- [Mozilla Addon Update Action](https://github.com/cssnr/mozilla-addon-update-action)
95+
- [VirusTotal Action](https://github.com/cssnr/virustotal-action)
96+
- [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action)
97+
- [Update JSON Value Action](https://github.com/cssnr/update-json-value-action)
98+
- [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action)
99+
- [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action)
100+
- [Stack Deploy Action](https://github.com/cssnr/stack-deploy-action)
101+
- [Portainer Stack Deploy](https://github.com/cssnr/portainer-stack-deploy-action)
102+
- [Mozilla Addon Update Action](https://github.com/cssnr/mozilla-addon-update-action)
102103
103104
For a full list of current projects to support visit: [https://cssnr.github.io/](https://cssnr.github.io/)

0 commit comments

Comments
 (0)