Skip to content

Commit 550d8f5

Browse files
committed
ci(publish): test
1 parent e28b851 commit 550d8f5

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/publish.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,18 @@ jobs:
3333
- name: Install Python dependencies
3434
run: pdm sync -d
3535

36-
- name: Echo info output
37-
run: cat ~/.npmrc
38-
3936
- name: Publish
40-
run: '[[ ${{ github.ref_name }} =~ ^(.*)-[0-9]+\.[0-9]+\.[0-9]+$ ]] && export PROJECT="${BASH_REMATCH[1]}" && npx nx release publish --projects $PROJECT --verbose'
37+
run: 'npx build components && cd dist/web/components && npm publish --provenance'
4138
shell: bash
4239
env:
4340
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
4441
NPM_CONFIG_PROVENANCE: true
45-
PDM_PUBLISH_USERNAME: __token__
46-
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_ACCESS_TOKEN }}
42+
43+
# - name: Publish
44+
# run: '[[ ${{ github.ref_name }} =~ ^(.*)-[0-9]+\.[0-9]+\.[0-9]+$ ]] && export PROJECT="${BASH_REMATCH[1]}" && npx nx release publish --projects $PROJECT --verbose'
45+
# shell: bash
46+
# env:
47+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
48+
# NPM_CONFIG_PROVENANCE: true
49+
# PDM_PUBLISH_USERNAME: __token__
50+
# PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)