File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11# Specify files that shouldn't be modified by Fern
2+ .github/workflows/ci.yml
Original file line number Diff line number Diff line change @@ -37,15 +37,18 @@ jobs:
3737 - name : Checkout repo
3838 uses : actions/checkout@v3
3939 - name : Set up node
40- uses : actions/setup-node@v3
40+ uses : actions/setup-node@v4
41+ with :
42+ registry-url : ' https://registry.npmjs.org'
43+ scope : ' @speechify'
44+ token : ${{ secrets.NPM_TOKEN }}
4145 - name : Install dependencies
4246 run : yarn install
4347 - name : Build
4448 run : yarn build
4549
4650 - name : Publish to npm
4751 run : |
48- npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
4952 if [[ ${GITHUB_REF} == *alpha* ]]; then
5053 npm publish --access public --tag alpha
5154 elif [[ ${GITHUB_REF} == *beta* ]]; then
5457 npm publish --access public
5558 fi
5659 env :
57- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
60+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments