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 1
1
# 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:
37
37
- name : Checkout repo
38
38
uses : actions/checkout@v3
39
39
- 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 }}
41
45
- name : Install dependencies
42
46
run : yarn install
43
47
- name : Build
44
48
run : yarn build
45
49
46
50
- name : Publish to npm
47
51
run : |
48
- npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
49
52
if [[ ${GITHUB_REF} == *alpha* ]]; then
50
53
npm publish --access public --tag alpha
51
54
elif [[ ${GITHUB_REF} == *beta* ]]; then
54
57
npm publish --access public
55
58
fi
56
59
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