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:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write # Required for OIDC
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
environment:
|
||||||
|
name: NPM Registry
|
||||||
|
url: https://www.npmjs.com/package/axios-cache-interceptor/v/${{ github.event.release.tag_name }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
@ -35,7 +40,5 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Publish to NPM
|
- name: Publish to NPM # OIDC authentication
|
||||||
run: pnpm publish --access public --no-git-checks --provenance
|
run: pnpm publish --access public --no-git-checks
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
|
|||||||
@ -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"],
|
"extends": ["@arthurfiorette/biomejs-config"],
|
||||||
"files": {
|
"files": {
|
||||||
"includes": [
|
"includes": [
|
||||||
|
|||||||
@ -66,11 +66,11 @@
|
|||||||
"@swc-node/register": "1.11.1",
|
"@swc-node/register": "1.11.1",
|
||||||
"@swc/helpers": "0.5.17",
|
"@swc/helpers": "0.5.17",
|
||||||
"@types/jsdom": "21.1.7",
|
"@types/jsdom": "21.1.7",
|
||||||
"@types/node": "24.3.1",
|
"@types/node": "24.4.0",
|
||||||
"auto-changelog": "2.5.0",
|
"auto-changelog": "2.5.0",
|
||||||
"axios": "1.12.2",
|
"axios": "1.12.2",
|
||||||
"c8": "10.1.3",
|
"c8": "10.1.3",
|
||||||
"jsdom": "26.1.0",
|
"jsdom": "27.0.0",
|
||||||
"microbundle": "0.15.1",
|
"microbundle": "0.15.1",
|
||||||
"tslib": "2.8.1",
|
"tslib": "2.8.1",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.2",
|
||||||
@ -80,7 +80,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"axios": "^1"
|
"axios": "^1"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.1.1",
|
"packageManager": "pnpm@10.15.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"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