Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 926f65d

Browse files
authored
fix: update dependencies (#434)
Also switch CI node version to 18
1 parent 9b47998 commit 926f65d

File tree

5 files changed

+1443
-1059
lines changed

5 files changed

+1443
-1059
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
- name: "Setup Node.js"
2525
uses: actions/[email protected]
2626
with:
27-
node-version: 16
27+
node-version: 18
2828

2929
- name: "Install dependencies"
3030
run: yarn install --frozen-lockfile
3131

3232
- name: "Lint"
33-
run: yarn lint -f @jamesacarr/github-actions
33+
run: yarn lint -f @react-hookz/gha
3434

3535
dependabot-merge:
3636
name: "Dependabot automerge"
@@ -63,7 +63,7 @@ jobs:
6363
- name: "Setup Node.js"
6464
uses: actions/[email protected]
6565
with:
66-
node-version: 16
66+
node-version: 18
6767

6868
- name: "Install dependencies"
6969
run: yarn install --frozen-lockfile

base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
sourceType: 'module',
1212
},
1313
rules: {
14-
'prettier/prettier': ['error'],
14+
'prettier/prettier': 'error',
1515
'no-use-before-define': ['error', { functions: false, classes: true, variables: true }],
1616
'no-plusplus': 'off',
1717
'no-param-reassign': 'off',

mdx.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,14 @@ module.exports = {
1515
},
1616

1717
rules: {
18-
'prettier/prettier': [
19-
'error',
20-
{
21-
parser: 'mdx',
22-
},
23-
],
18+
'prettier/prettier': ['error', { parser: 'mdx' }],
2419
},
2520

2621
overrides: [
2722
{
2823
files: ['*.md'],
2924
rules: {
30-
'prettier/prettier': [
31-
'error',
32-
{
33-
parser: 'markdown',
34-
},
35-
],
25+
'prettier/prettier': ['error', { parser: 'markdown' }],
3626
},
3727
},
3828
],

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
},
1616
"main": "./base.js",
1717
"dependencies": {
18+
"@react-hookz/eslint-formatter-gha": "^1.0.1",
1819
"@typescript-eslint/eslint-plugin": "^5.59.0",
1920
"@typescript-eslint/parser": "^5.59.0",
2021
"eslint": "^8.38.0",
@@ -39,15 +40,14 @@
3940
"@commitlint/cli": "^17.6.1",
4041
"@commitlint/config-conventional": "^17.6.1",
4142
"@commitlint/cz-commitlint": "^17.5.0",
42-
"@jamesacarr/eslint-formatter-github-actions": "^0.2.0",
4343
"@semantic-release/changelog": "^6.0.3",
4444
"@semantic-release/git": "^10.0.1",
4545
"@semantic-release/github": "^8.0.7",
4646
"commitizen": "^4.3.0",
4747
"commitlint": "^17.6.1",
4848
"husky": "^8.0.3",
4949
"lint-staged": "^13.2.1",
50-
"semantic-release": "^19.0.5",
50+
"semantic-release": "^21.0.1",
5151
"yarn": "^1.22.19"
5252
},
5353
"scripts": {

0 commit comments

Comments
 (0)