Skip to content

Commit 08e8f43

Browse files
chore: upgrade deps, node v26, ts v6. (#46)
1 parent ddc6e22 commit 08e8f43

8 files changed

Lines changed: 1620 additions & 1574 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, windows-latest]
17-
version: ['22.21.1', '24.11.1']
17+
version: ['22.22.1', '24.16.0', '26.2.0']
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4.2.2
21+
uses: actions/checkout@v6.0.2
2222
- name: Setup Node
23-
uses: actions/setup-node@v4.3.0
23+
uses: actions/setup-node@v6.4.0
2424
with:
2525
node-version: ${{ matrix.version }}
2626
- name: Install Dependencies
2727
run: npm ci
2828
- name: Save error log
29-
uses: actions/upload-artifact@v4.6.2
29+
uses: actions/upload-artifact@v7.0.1
3030
if: ${{ failure() }}
3131
with:
3232
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
@@ -38,7 +38,7 @@ jobs:
3838
- name: Test
3939
run: npm test
4040
- name: Report Coverage
41-
uses: codecov/codecov-action@v5.5.1
41+
uses: codecov/codecov-action@v6.0.1
4242
with:
4343
token: ${{ secrets.CODECOV_TOKEN }}
4444
- name: Pack

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4.2.2
17+
uses: actions/checkout@v6.0.2
1818
- name: Setup Node
19-
uses: actions/setup-node@v4.3.0
19+
uses: actions/setup-node@v6.4.0
2020
with:
21-
node-version: '24.11.1'
21+
node-version: '26.2.0'
2222
- name: Install Dependencies
2323
run: npm ci
2424
- name: Save error log
25-
uses: actions/upload-artifact@v4.6.2
25+
uses: actions/upload-artifact@v7.0.1
2626
if: ${{ failure() }}
2727
with:
2828
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
@@ -34,7 +34,7 @@ jobs:
3434
- name: Pack
3535
run: npm pack
3636
- name: Push to NPM registry
37-
uses: JS-DevTools/npm-publish@v4.1.1
37+
uses: JS-DevTools/npm-publish@v4.1.5
3838
with:
3939
access: public
4040
tag: ${{ contains(github.ref, '-') && 'next' || 'latest' }}

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env sh
2+
3+
npm run lint-staged

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
3+
npm run lint-staged
4+
npm run check-types

0 commit comments

Comments
 (0)