Skip to content

Commit 4504bd3

Browse files
chore: upgrade dev deps, trusted publishing. (#39)
1 parent b08108f commit 4504bd3

File tree

4 files changed

+426
-646
lines changed

4 files changed

+426
-646
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, windows-latest]
17-
version: ['22.17.1', '24.4.1']
17+
version: ['22.21.1', '24.11.1']
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- name: Checkout
@@ -38,7 +38,7 @@ jobs:
3838
- name: Test
3939
run: npm test
4040
- name: Report Coverage
41-
uses: codecov/codecov-action@v5.4.0
41+
uses: codecov/codecov-action@v5.5.1
4242
with:
4343
token: ${{ secrets.CODECOV_TOKEN }}
4444
- name: Pack

.github/workflows/publish.yml

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

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
publish:
913
if: contains('["knightedcodemonkey"]', github.actor)
@@ -14,7 +18,7 @@ jobs:
1418
- name: Setup Node
1519
uses: actions/[email protected]
1620
with:
17-
node-version: '24.4.1'
21+
node-version: '24.11.1'
1822
- name: Install Dependencies
1923
run: npm ci
2024
- name: Save error log
@@ -30,8 +34,7 @@ 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 }}
36-
tag: ${{ contains(github.ref, '-') && 'next' || 'latest' }}
3739
access: public
40+
tag: ${{ contains(github.ref, '-') && 'next' || 'latest' }}

0 commit comments

Comments
 (0)