Skip to content

Commit e79175d

Browse files
mikechu-optimizelyMike Chu
andauthored
[FSSDK-9494] Correction to release workflow (#216)
* Correction to release workflow based on npm/cli#6184 * Fix for EOL character * Add gitattributes file for eol=lf * Add extra line at EOF --------- Co-authored-by: Mike Chu <[email protected]>
1 parent 2ac5cc2 commit e79175d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/react_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ jobs:
1515
uses: actions/setup-node@v3
1616
with:
1717
node-version: 18
18+
registry-url: "https://registry.npmjs.org"
1819
- name: Install dependencies
1920
run: yarn install
2021
- name: Run npm publish command
2122
env:
2223
NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_REACT_SDK_TO_NPM }}
24+
NPM_TOKEN: ${{ secrets.PUBLISH_REACT_SDK_TO_NPM }}
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2326
run: npm publish

0 commit comments

Comments
 (0)