Skip to content

Commit 56e4355

Browse files
committed
chore(workflow): switch npm release to OIDC
1 parent 637ab91 commit 56e4355

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
runs-on: ubuntu-latest
4949
permissions:
5050
id-token: write
51+
contents: read
5152
steps:
5253
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
5354
with:
@@ -61,5 +62,3 @@ jobs:
6162
- run: pnpm install
6263
- run: pnpm build
6364
- run: NPM_CONFIG_PROVENANCE=true pnpm run release:npm:registry
64-
env:
65-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"name": "@himenon/openapi-typescript-code-generator",
3+
<<<<<<< Updated upstream
34
"version": "2.0.1",
5+
=======
6+
"version": "2.0P.0",
7+
>>>>>>> Stashed changes
48
"description": "OpenAPI Code Generator using Template literals.",
59
"keywords": [
610
"openapi",

0 commit comments

Comments
 (0)