Skip to content

Commit

Permalink
Fix lodash and Build Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
WINOFFRG committed Aug 12, 2023
1 parent fb3de70 commit 4045261
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
40 changes: 20 additions & 20 deletions .github/composite-actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ name: "Install"
description: "Sets up Node.js and runs install"

runs:
using: composite
steps:
- name: Install dependencies
uses: pnpm/action-setup@v2.2.4
with:
version: 8
using: composite
steps:
- name: Install dependencies
uses: pnpm/action-setup@v2.2.4
with:
version: 8

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"

- name: Setup Git User
shell: bash
run: |
git config --global user.email "rohangupta1528@gmail.com"
git config --global user.name "Rohan Gupta"
- name: Setup Git User
shell: bash
run: |
git config --global user.email "rohangupta1528@gmail.com"
git config --global user.name "Rohan Gupta"
- name: Install dependencies
shell: bash
run: pnpm install
- name: Install dependencies
shell: bash
run: pnpm install
2 changes: 1 addition & 1 deletion packages/limeplay-core/src/hooks/useSliderEvents.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FullGestureState, useDrag, useGesture } from '@use-gesture/react';
import { clamp } from 'lodash';
import { useCallback, useState } from 'react';
import { clamp } from '../utils';

interface SliderHandlerConfig {
min: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/limeplay-core/src/hooks/useTimelineDrag.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FullGestureState, useDrag } from '@use-gesture/react';
import { clamp } from 'lodash';
import { useState } from 'react';
import { clamp } from '../utils';

interface SliderHandlerConfig {
min: number;
Expand Down

0 comments on commit 4045261

Please sign in to comment.