Skip to content

Commit 59deb88

Browse files
committed
Configured OIDC connect for npm publish
1 parent 09053a3 commit 59deb88

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ jobs:
6868
npm pack
6969
tar -tf *.tgz
7070
71+
# Publishing is allowed via OIDC connection, so no need to set up npm auth token
7172
- name: Publish to npm
7273
run: npm publish --provenance --access public
73-
env:
74-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7574

7675
- name: Create GitHub Release
7776
uses: softprops/action-gh-release@v2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"scripts": {
2020
"start": "react-scripts start",
2121
"build": "react-scripts build",
22-
"copy-font": "shx cp -r src\\assets\\fonts\\montserrat.ttf dist\\assets\\fonts",
22+
"copy-font": "shx cp -r src/assets/fonts/montserrat.ttf dist/assets/fonts",
2323
"compile": "npm run clean && tsc && npm run copy-font",
2424
"test": "react-scripts test",
2525
"eject": "react-scripts eject",

0 commit comments

Comments
 (0)