Creates an issue if npm publish task fails.

This commit is contained in:
Henning Dieterichs 2022-01-27 12:47:43 +01:00
parent 9f0a9c263f
commit c8be2f8782
No known key found for this signature in database
GPG Key ID: 771381EFFDB9EC06
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
title: NPM Publishing Failed
assignees: []
labels: bug
---
NPM publishing failed. Check the last GitHub Action log.

View File

@ -224,3 +224,11 @@ jobs:
if: ${{ steps.state.outputs.skip_monaco_editor == 'false' }}
working-directory: './monaco-editor/release'
run: npm publish --tag ${{ steps.state.outputs.dist_tag }}
- name: Create Issue On Failure
if: failure()
uses: JasonEtco/create-an-issue@c796bdce77b0eebb39e2f4cb359893d764d4aa91
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/publish-failure-issue-template.md