File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,18 @@ jobs:
1919 - uses : actions/setup-python@v4
2020 with :
2121 python-version : ' 3.11'
22- - name : Set up .npmrc
22+ - name : Set up .npmrc for publishing
2323 run : |
24- echo "@theia:registry=https://npm.pkg.github.com/" > ~/.npmrc
25- echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
24+ echo "registry=https://npm.pkg.github.com/" > ~/.npmrc
25+ echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
26+ echo "@theia:registry=https://npm.pkg.github.com/" >> ~/.npmrc
2627 env :
27- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2829 - name : Install deps & bootstrap
2930 run : |
3031 npm install -g node-gyp
3132 npm ci
3233 - name : Publish with Lerna
33- run : lerna publish from-package --yes --force-publish
34+ run : lerna publish from-package --yes --force-publish --registry https://npm.pkg.github.com/
3435 env :
3536 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments