Skip to content

Commit

Permalink
ci: added Github Action ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Moreno committed Mar 8, 2021
1 parent 0cbd489 commit bc59b63
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Recharts React Smooth'

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'

- name: Installing deps
run: npm install

- name: Testing & Linting
run: |
npm run lint
npm run test
- name: Building packages
run: npm run build
1 change: 0 additions & 1 deletion src/configUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export default (from, to, easing, duration, render) => {
let update = () => null;

const getCurrStyle = () => mapObject((key, val) => val.from, stepperStyle);
console.log(needContinue);
const shouldStopAnimation = () => !Object.values(stepperStyle).filter(needContinue).length;

// stepper timing function like spring
Expand Down

0 comments on commit bc59b63

Please sign in to comment.