From 26916829d5ea1d58f220674893c929891d48c02f Mon Sep 17 00:00:00 2001 From: DARSAN Date: Tue, 13 Aug 2024 20:12:31 +0530 Subject: [PATCH] End-User meta workflow updated --- .github/workflows/consistent-desc.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/consistent-desc.yaml b/.github/workflows/consistent-desc.yaml index 8b79576..c44ed44 100644 --- a/.github/workflows/consistent-desc.yaml +++ b/.github/workflows/consistent-desc.yaml @@ -21,17 +21,20 @@ jobs: - name: Install dependencies run: | - npm install --production node-html-parser marked @octokit/rest + mkdir -p temp && cd temp + yarn init -y + yarn add node-html-parser marked @octokit/rest -S - name: Download Hero program run: | - curl -o update-meta.js https://raw.githubusercontent.com/darsan-in/.github/main/utils/update-meta.js + curl -o temp/update-meta.js https://raw.githubusercontent.com/darsan-in/.github/main/utils/update-meta.js - name: Update meta env: GITHUB_TOKEN: ${{ secrets.META_UPDATE_KEY }} REPO_META: ${{ github.repository }} run: | + cd temp node update-meta.js - name: Commit and push changes