From bca0eeaf0984f79e215c696884aeba59aabf53ad Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Mon, 1 Jul 2024 17:20:58 +0200 Subject: [PATCH] ci(pull-request): Fix workflows attempt #2 --- .github/workflows/pull-request.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 9328aedcb..84950d8d7 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -46,13 +46,14 @@ 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 + run: npm install simple-git --global && npm root -g - name: Generate annotations run: node ./scripts/updateContributors.mjs env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} FETCH_DEPTH: ${{ github.event.pull_request.commits }} CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + NODE_PATH: /usr/lib/node_modules - name: Generate annotations env: ANNOTATION_SEVERITY: notice