Skip to content

Commit a71b9ad

Browse files
authored
chore: upgrade deps. (#46)
1 parent 9b182db commit a71b9ad

File tree

7 files changed

+4675
-4962
lines changed

7 files changed

+4675
-4962
lines changed

.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4.2.2
17+
uses: actions/checkout@v6.0.1
1818
- name: Setup Node
19-
uses: actions/setup-node@v4.1.0
19+
uses: actions/setup-node@v6.2.0
2020
with:
21-
node-version: '20.11.1'
21+
node-version: '24.13.0'
2222
- name: Install Dependencies
2323
run: npm ci
2424
- name: Save error log
25-
uses: actions/upload-artifact@v4.4.3
25+
uses: actions/upload-artifact@v6.0.0
2626
if: ${{ failure() }}
2727
with:
2828
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
2929
path: npm-debug.log
3030
- name: Test
3131
run: npm test
3232
- name: Report Coverage
33-
uses: codecov/codecov-action@v4.6.0
33+
uses: codecov/codecov-action@v5.5.1
3434
with:
3535
token: ${{ secrets.CODECOV_TOKEN }}
3636
- name: Lint

.github/workflows/publish.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@ on:
44
release:
55
types: [published]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
publish:
913
if: contains('["morganney"]', github.actor)
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Checkout
13-
uses: actions/checkout@v4.2.2
17+
uses: actions/checkout@v6.0.1
1418
- name: Setup Node
15-
uses: actions/setup-node@v4.1.0
19+
uses: actions/setup-node@v6.2.0
1620
with:
17-
node-version: '20.11.1'
21+
node-version: '24.13.0'
1822
- name: Install Dependencies
1923
run: npm ci
2024
- name: Save error log
21-
uses: actions/upload-artifact@v4.4.3
25+
uses: actions/upload-artifact@v6.0.0
2226
if: ${{ failure() }}
2327
with:
2428
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
@@ -30,7 +34,6 @@ jobs:
3034
- name: Pack
3135
run: npm pack
3236
- name: Push to NPM registry
33-
uses: JS-DevTools/npm-publish@v3.1.1
37+
uses: JS-DevTools/npm-publish@v4.1.1
3438
with:
35-
token: ${{ secrets.NPM_AUTH_TOKEN }}
3639
tag: ${{ contains(github.ref, '-') && 'next' || 'latest' }}

eslint.config.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import js from '@eslint/js'
2+
import jestPlugin from 'eslint-plugin-jest'
3+
import babelParser from '@babel/eslint-parser'
4+
import globals from 'globals'
5+
6+
export default [
7+
{
8+
ignores: ['dist', 'coverage', 'node_modules', '__tests__/__fixtures__/*']
9+
},
10+
js.configs.recommended,
11+
{
12+
languageOptions: {
13+
ecmaVersion: 2020,
14+
sourceType: 'module',
15+
parser: babelParser,
16+
globals: {
17+
...globals.node,
18+
...globals.jest
19+
}
20+
},
21+
plugins: {
22+
jest: jestPlugin
23+
},
24+
rules: {
25+
...jestPlugin.configs.recommended.rules,
26+
'no-console': 'error'
27+
}
28+
}
29+
]

0 commit comments

Comments
 (0)