Skip to content

[Snyk] Upgrade npm-to-yarn from 2.0.0 to 2.2.1 #1

[Snyk] Upgrade npm-to-yarn from 2.0.0 to 2.2.1

[Snyk] Upgrade npm-to-yarn from 2.0.0 to 2.2.1 #1

name: Source Map Parser
on:
issue_comment:
types: [created]
jobs:
parse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- run: cd utils/source-map-stacktrace-parser && npm install
- run: node utils/source-map-stacktrace-parser/index.js
id: parser
env:
comment: ${{ github.event.comment.body }}
- name: Comment Action
uses: JungWinter/[email protected]
if: ${{ steps.parser.outputs.outputtrace != '' }}
with:
type: create
body: "@${{ github.event.comment.user.login }} Here is the parsed stack trace you requested:\n${{ steps.parser.outputs.outputtrace }}"
issue_number: "${{ github.event.issue.number }}"
token: ${{ secrets.GITHUB_TOKEN }}