Skip to content

Commit 1d74e2f

Browse files
authored
Continue publishing on error and remove registry-url from setup-node so that npm won't expect a token (#1680)
1 parent ab9f6bd commit 1d74e2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
- uses: actions/setup-node@v4
4141
with:
4242
node-version: '20'
43-
registry-url: 'https://registry.npmjs.org'
4443

4544
#
4645
# Build Python packages
@@ -66,6 +65,7 @@ jobs:
6665
# Publish Python packages to PyPI (using OIDC trusted publishing)
6766
#
6867
- name: Publish DJ Server to PyPI
68+
continue-on-error: true
6969
uses: pypa/gh-action-pypi-publish@release/v1
7070
with:
7171
packages-dir: datajunction-server/dist/
@@ -77,11 +77,13 @@ jobs:
7777
# packages-dir: datajunction-query/dist/
7878

7979
- name: Publish DJ Reflection service to PyPI
80+
continue-on-error: true
8081
uses: pypa/gh-action-pypi-publish@release/v1
8182
with:
8283
packages-dir: datajunction-reflection/dist/
8384

8485
- name: Publish DJ Python client to PyPI
86+
continue-on-error: true
8587
uses: pypa/gh-action-pypi-publish@release/v1
8688
with:
8789
packages-dir: datajunction-clients/python/dist/
@@ -90,12 +92,14 @@ jobs:
9092
# Publish JavaScript packages to npm
9193
#
9294
- name: Publish DJ Javascript client to npm
95+
continue-on-error: true
9396
working-directory: ./datajunction-clients/javascript
9497
run: |
9598
yarn install --frozen-lockfile
9699
npm publish --access public --provenance
97100
98101
- name: Publish DJ UI to npm
102+
continue-on-error: true
99103
working-directory: ./datajunction-ui
100104
run: |
101105
yarn install --frozen-lockfile

0 commit comments

Comments
 (0)