From eb9a61f9e62380213b3dd8e3b07d4dc9e83cfc00 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sat, 25 May 2024 10:08:48 +0200 Subject: [PATCH] action.yml: deps fix --- action.yml | 4 ++++ package-lock.json | 23 ++++++++++++++++++++++- package.json | 3 ++- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 1ac27961..2f6fc23b 100644 --- a/action.yml +++ b/action.yml @@ -119,6 +119,10 @@ runs: with: ruby-version: '3.2' bundler-cache: true + - if: ${{ steps.reviewdog-enabled.outputs.result == 'true' }} + id: npm + run: cd ${{ github.action_path }}; npm ci + shell: bash - if: ${{ steps.reviewdog-enabled.outputs.result == 'true' }} name: Install tfsec uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0 diff --git a/package-lock.json b/package-lock.json index 67d60046..f63a848c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,8 @@ "dependencies": { "@octokit/core": "^5.0.2", "@slack/web-api": "^7.0.0", - "@tryfabric/mack": "^1.2.1" + "@tryfabric/mack": "^1.2.1", + "markdown-to-txt": "^2.0.1" }, "devDependencies": { "standard": "17.1.0" @@ -2461,12 +2462,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lodash.escape": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-4.0.1.tgz", + "integrity": "sha512-nXEOnb/jK9g0DYMr1/Xvq6l5xMD7GDG55+GSYIYmS0G4tBk/hURD4JR9WCavs04t33WmJx9kCyp9vJ+mr4BOUw==" + }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true }, + "node_modules/lodash.unescape": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.unescape/-/lodash.unescape-4.0.1.tgz", + "integrity": "sha512-DhhGRshNS1aX6s5YdBE3njCCouPgnG29ebyHvImlZzXZf2SHgt+J08DHgytTPnpywNbO1Y8mNUFyQuIDBq2JZg==" + }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -2479,6 +2490,16 @@ "loose-envify": "cli.js" } }, + "node_modules/markdown-to-txt": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/markdown-to-txt/-/markdown-to-txt-2.0.1.tgz", + "integrity": "sha512-Hsj7KTN8k1gutlLum3vosHwVZGnv8/cbYKWVkUyo/D1rzOYddbDesILebRfOsaVfjIBJank/AVOySBlHAYqfZw==", + "dependencies": { + "lodash.escape": "^4.0.1", + "lodash.unescape": "^4.0.1", + "marked": "^4.0.14" + } + }, "node_modules/marked": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", diff --git a/package.json b/package.json index 922da913..1598e22c 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "dependencies": { "@octokit/core": "^5.0.2", "@slack/web-api": "^7.0.0", - "@tryfabric/mack": "^1.2.1" + "@tryfabric/mack": "^1.2.1", + "markdown-to-txt": "^2.0.1" }, "devDependencies": { "standard": "17.1.0"