Skip to content

Commit 59c24b2

Browse files
committed
End-User meta workflow updated
1 parent cc18792 commit 59c24b2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/consistent-desc.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ jobs:
2121

2222
- name: Install dependencies
2323
run: |
24-
npm install --production node-html-parser marked @octokit/rest
24+
mkdir -p temp && cd temp
25+
yarn init -y
26+
yarn add node-html-parser marked @octokit/rest -S
2527
2628
- name: Download Hero program
2729
run: |
28-
curl -o update-meta.js https://raw.githubusercontent.com/darsan-in/.github/main/utils/update-meta.js
30+
curl -o temp/update-meta.js https://raw.githubusercontent.com/darsan-in/.github/main/utils/update-meta.js
2931
3032
- name: Update meta
3133
env:
3234
GITHUB_TOKEN: ${{ secrets.META_UPDATE_KEY }}
3335
REPO_META: ${{ github.repository }}
3436
run: |
37+
cd temp
3538
node update-meta.js
3639
3740
- name: Commit and push changes

0 commit comments

Comments
 (0)