Skip to content

Commit b5a9f66

Browse files
authored
fix (#11948)
* fix * fix
1 parent fdd04fe commit b5a9f66

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
pnpm --filter @gradio/client --filter @gradio/preview build
3636
- name: update npm
3737
run: npm i -g npm@latest
38+
- name: check node version
39+
run: node -v
40+
- name: check npm version
41+
run: npm -v
3842
- name: create and publish versions
3943
id: changesets
4044
uses: changesets/action@aba318e9165b45b7948c60273e0b72fce0a64eb9 # @v1
@@ -45,6 +49,16 @@ jobs:
4549
publish: pnpm ci:publish
4650
env:
4751
GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}
52+
- name: Upload npm logs
53+
if: always()
54+
uses: actions/upload-artifact@v4
55+
with:
56+
name: npm-logs
57+
path: |
58+
/home/runner/.npm/_logs/
59+
~/.npm/_logs/
60+
retention-days: 7
61+
if-no-files-found: ignore
4862
- name: add label to skip chromatic build
4963
if: ${{ steps.changesets.outputs.pullRequestNumber != '' && steps.changesets.outputs.pullRequestNumber != 'undefined' }}
5064
run: gh pr edit "$PR_NUMBER" --add-label "no-visual-update"

0 commit comments

Comments
 (0)