From e830fb16e0d95d060fb9fd8e89ad6c58f5077b0b Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Mon, 1 Jul 2024 17:33:21 +0200 Subject: [PATCH] ci(pull-request): Fix workflows attempt #5 --- .github/workflows/pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index fef8d6e62..13c270baa 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -46,9 +46,9 @@ jobs: files: icons/* - uses: actions/setup-node@v4 - name: Install simple-git (safer and faster than installing all deps) - run: npm install simple-git --global && npm link simple-git + run: npm install simple-git --global - name: Generate annotations - run: node ./scripts/updateContributors.mjs + run: NODE_PATH=$(npm root -g) node ./scripts/updateContributors.mjs env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} FETCH_DEPTH: ${{ github.event.pull_request.commits }}