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 1414 uses : actions/setup-node@v4
1515 with :
1616 node-version : " latest"
17- registry-url : https://npm.pkg.github.com/
18- scope : " @blueye-robotics"
1917
2018 - name : Create tsconfig
2119 run : |
4240 "main": "dist/index.js",
4341 "types": "dist/index.d.ts",
4442 "files": ["dist"],
45- "publishConfig": {
46- "registry": "https://npm.pkg.github.com/"
47- },
4843 "scripts": {
4944 "build": "tsc"
5045 },
@@ -76,12 +71,12 @@ jobs:
7671 cd protobuf_definitions
7772 npm run build
7873
79- - name : Publish to GitHub Packages
74+ - name : Publish to npm
8075 run : |
8176 cd protobuf_definitions
82- npm publish --tag test
77+ npm publish --access public -- tag test
8378 env :
84- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
8580
8681 - name : Check npm pack contents
8782 run : |
You can’t perform that action at this time.
0 commit comments