mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-12 13:38:32 +00:00
ci(pull-request): Fix workflows attempt #6
This commit is contained in:
@@ -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,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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user