File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
packages/instant-meilisearch Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 7
7
- ' pre-release-beta/**'
8
8
- ' beta/**'
9
9
- ' prototype-beta/'
10
+ env :
11
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
10
12
11
13
jobs :
12
14
publish-npm :
@@ -16,14 +18,17 @@ jobs:
16
18
- uses : actions/checkout@v3
17
19
- uses : actions/setup-node@v3
18
20
with :
19
- node-version : 16
21
+ node-version : ' 16.x '
20
22
registry-url : https://registry.npmjs.org/
21
23
- name : Install dependencies
22
24
run : yarn
23
- - name : Creating .npmrc
25
+ - name : Check if npmrc was created
26
+ run : ls -lah
27
+ - name : re create .npmrc file
24
28
run : |
25
29
cat << EOF > "$HOME/.npmrc"
26
30
//registry.npmjs.org/:_authToken=$NPM_TOKEN
31
+ always-auth = true
27
32
EOF
28
33
env :
29
34
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
35
40
env :
36
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
42
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
43
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 8
8
"bugs" : {
9
9
"url" : " https://github.com/meilisearch/instant-meilisearch/issues"
10
10
},
11
- "repository" : " meilisearch/instant-meilisearch" ,
11
+ "repository" : " https://github.com/meilisearch/instant-meilisearch/tree/beta/lerna-migration/packages/instant-meilisearch" ,
12
+ "publishConfig" : {
13
+ "access" : " public"
14
+ },
12
15
"author" : {
13
16
"name" : " Meilisearch" ,
14
17
"url" : " https://meilisearch.com"
You can’t perform that action at this time.
0 commit comments