We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c7da1d commit 415e740Copy full SHA for 415e740
1 file changed
.github/workflows/release.yml
@@ -35,10 +35,18 @@ jobs:
35
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36
37
- name: Publish to npm
38
- run: npm publish --ignore-scripts
+ id: publish
39
+ run: npm publish --ignore-scripts 2>&1 | tee /tmp/npm-publish.log; exit ${PIPESTATUS[0]}
40
env:
41
42
43
+ - name: Upload publish log
44
+ if: always()
45
+ uses: actions/upload-artifact@v4
46
+ with:
47
+ name: npm-publish-log
48
+ path: /tmp/npm-publish.log
49
+
50
- name: Create GitHub Release
51
uses: softprops/action-gh-release@v2
52
with:
0 commit comments