Skip to content

Commit 088c462

Browse files
committed
Use Github OIDC token to publish package
1 parent 58942b5 commit 088c462

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Publish package to NPM
22
on:
33
release:
44
types: [published]
5+
56
workflow_dispatch:
7+
68
jobs:
79
build:
810
runs-on: ubuntu-latest
@@ -21,5 +23,3 @@ jobs:
2123

2224
- name: Publish to NPM
2325
run: npm publish --provenance --access public
24-
env:
25-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@acm-uiuc/js-shared",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "ACM UIUC Shared JS code",
55
"main": "dist/index.js",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)