mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Creates an issue if npm publish task fails.
This commit is contained in:
parent
9f0a9c263f
commit
c8be2f8782
2 changed files with 15 additions and 0 deletions
7
.github/publish-failure-issue-template.md
vendored
Normal file
7
.github/publish-failure-issue-template.md
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: NPM Publishing Failed
|
||||||
|
assignees: []
|
||||||
|
labels: bug
|
||||||
|
---
|
||||||
|
|
||||||
|
NPM publishing failed. Check the last GitHub Action log.
|
||||||
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
|
|
@ -224,3 +224,11 @@ jobs:
|
||||||
if: ${{ steps.state.outputs.skip_monaco_editor == 'false' }}
|
if: ${{ steps.state.outputs.skip_monaco_editor == 'false' }}
|
||||||
working-directory: './monaco-editor/release'
|
working-directory: './monaco-editor/release'
|
||||||
run: npm publish --tag ${{ steps.state.outputs.dist_tag }}
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue