Skip to content

Commit f5dd816

Browse files
committed
More tries
1 parent bb33f36 commit f5dd816

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/publish-npm-packages.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)