ci(pull-request): Fix workflows attempt #6

This commit is contained in:
Eric Fennis
2024-07-01 18:04:31 +02:00
parent e830fb16e0
commit bbd877a3ba
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
- name: Install simple-git (safer and faster than installing all deps)
run: npm install simple-git --global
- name: Generate annotations
run: NODE_PATH=$(npm root -g) node ./scripts/updateContributors.mjs
run: node ./scripts/updateContributors.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FETCH_DEPTH: ${{ github.event.pull_request.commits }}
@@ -1,13 +1,13 @@
import fs from 'fs';
import path from 'path';
import { parseSync } from 'svgson';
import { parseSync } from '/usr/local/lib/node_modules/simple-git/svgson';
import {
shuffleArray,
readSvgDirectory,
getCurrentDirPath,
minifySvg,
toPascalCase,
} from '@lucide/helpers';
} from '../tools/build-helpers/main.mjs';
const currentDir = getCurrentDirPath(import.meta.url);
const ICONS_DIR = path.resolve(currentDir, '../icons');
+1 -1
View File
@@ -1,6 +1,6 @@
import fs from 'node:fs';
import path from 'path';
import simpleGit from 'simple-git';
import simpleGit from '/usr/local/lib/node_modules/simple-git';
import { Octokit } from '@octokit/rest';
import pMemoize from 'p-memoize';