Skip to content

Commit a9ca722

Browse files
Update dependencies and migrate to OIDC publishing
1 parent 55da840 commit a9ca722

File tree

5 files changed

+316
-202
lines changed

5 files changed

+316
-202
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ on:
66
workflow_dispatch:
77

88
permissions:
9-
id-token: write
9+
id-token: write # Required for OIDC
10+
contents: read
1011

1112
jobs:
1213
publish:
1314
runs-on: ubuntu-latest
1415

16+
environment:
17+
name: NPM Registry
18+
url: https://www.npmjs.com/package/axios-cache-interceptor/v/${{ github.event.release.tag_name }}
19+
1520
steps:
1621
- name: Checkout
1722
uses: actions/checkout@v5
@@ -35,7 +40,5 @@ jobs:
3540
- name: Build
3641
run: pnpm run build
3742

38-
- name: Publish to NPM
39-
run: pnpm publish --access public --no-git-checks --provenance
40-
env:
41-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43+
- name: Publish to NPM # OIDC authentication
44+
run: pnpm publish --access public --no-git-checks

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.9.0
1+
v24

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
33
"extends": ["@arthurfiorette/biomejs-config"],
44
"files": {
55
"includes": [

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@
6666
"@swc-node/register": "1.11.1",
6767
"@swc/helpers": "0.5.17",
6868
"@types/jsdom": "21.1.7",
69-
"@types/node": "24.3.1",
69+
"@types/node": "24.4.0",
7070
"auto-changelog": "2.5.0",
7171
"axios": "1.12.2",
7272
"c8": "10.1.3",
73-
"jsdom": "26.1.0",
73+
"jsdom": "27.0.0",
7474
"microbundle": "0.15.1",
7575
"tslib": "2.8.1",
7676
"typescript": "5.9.2",
@@ -80,7 +80,7 @@
8080
"peerDependencies": {
8181
"axios": "^1"
8282
},
83-
"packageManager": "pnpm@9.1.1",
83+
"packageManager": "pnpm@10.15.0",
8484
"engines": {
8585
"node": ">=12"
8686
},

0 commit comments

Comments
 (0)