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