Skip to content

Commit 3084b4c

Browse files
ivanIOValexjavabraz
authored andcommitted
Clean filesystem before publishing
1 parent 5bf59b6 commit 3084b4c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish_npm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,14 @@ jobs:
7575
- name: Pre upload validation
7676
id: pack
7777
run: |
78-
pnpm publish --dry-run --no-git-checks> output 2>&1
78+
pnpm publish --dry-run --no-git-checks> report 2>&1
7979
PRE_UPLOAD_HASH=$(grep 'shasum' output | awk '{print $NF}')
8080
echo "PRE_UPLOAD_HASH=$PRE_UPLOAD_HASH" >> $GITHUB_OUTPUT
8181
echo "PRE_UPLOAD_HASH: $PRE_UPLOAD_HASH"
8282
83+
echo "Removing temporary report file"
84+
rm report
85+
8386
- name: Check if version is already published
8487
run: |
8588
PACKAGE_NAME=$(cat package.json | jq -r .name)

0 commit comments

Comments
 (0)