mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
Update dependencies and migrate to OIDC publishing
This commit is contained in:
parent
55da840f7b
commit
a9ca72206f
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
@ -6,12 +6,17 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
id-token: write # Required for OIDC
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
environment:
|
||||
name: NPM Registry
|
||||
url: https://www.npmjs.com/package/axios-cache-interceptor/v/${{ github.event.release.tag_name }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
@ -35,7 +40,5 @@ jobs:
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Publish to NPM
|
||||
run: pnpm publish --access public --no-git-checks --provenance
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- name: Publish to NPM # OIDC authentication
|
||||
run: pnpm publish --access public --no-git-checks
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
|
||||
"extends": ["@arthurfiorette/biomejs-config"],
|
||||
"files": {
|
||||
"includes": [
|
||||
|
||||
@ -66,11 +66,11 @@
|
||||
"@swc-node/register": "1.11.1",
|
||||
"@swc/helpers": "0.5.17",
|
||||
"@types/jsdom": "21.1.7",
|
||||
"@types/node": "24.3.1",
|
||||
"@types/node": "24.4.0",
|
||||
"auto-changelog": "2.5.0",
|
||||
"axios": "1.12.2",
|
||||
"c8": "10.1.3",
|
||||
"jsdom": "26.1.0",
|
||||
"jsdom": "27.0.0",
|
||||
"microbundle": "0.15.1",
|
||||
"tslib": "2.8.1",
|
||||
"typescript": "5.9.2",
|
||||
@ -80,7 +80,7 @@
|
||||
"peerDependencies": {
|
||||
"axios": "^1"
|
||||
},
|
||||
"packageManager": "pnpm@9.1.1",
|
||||
"packageManager": "pnpm@10.15.0",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
|
||||
495
pnpm-lock.yaml
generated
495
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user