File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 14
14
uses : actions/setup-node@v4
15
15
with :
16
16
node-version : " latest"
17
- registry-url : https://npm.pkg.github.com/
18
- scope : " @blueye-robotics"
19
17
20
18
- name : Create tsconfig
21
19
run : |
42
40
"main": "dist/index.js",
43
41
"types": "dist/index.d.ts",
44
42
"files": ["dist"],
45
- "publishConfig": {
46
- "registry": "https://npm.pkg.github.com/"
47
- },
48
43
"scripts": {
49
44
"build": "tsc"
50
45
},
@@ -76,12 +71,12 @@ jobs:
76
71
cd protobuf_definitions
77
72
npm run build
78
73
79
- - name : Publish to GitHub Packages
74
+ - name : Publish to npm
80
75
run : |
81
76
cd protobuf_definitions
82
- npm publish --tag test
77
+ npm publish --access public -- tag test
83
78
env :
84
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
85
80
86
81
- name : Check npm pack contents
87
82
run : |
You can’t perform that action at this time.
0 commit comments