Skip to content

Commit

Permalink
remove checks yolo
Browse files Browse the repository at this point in the history
  • Loading branch information
mariussd committed Oct 23, 2023
1 parent ba3fab5 commit c0ff034
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 42 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,50 +17,9 @@ permissions:

jobs:

typecheck:
name: ʦ TypeScript
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4

- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: ./package.json
node-version: 18

- name: 📥 Install deps
run: npm install

- name: 🔎 Type check
run: npm run typecheck --if-present

vitest:
name: ⚡ Vitest
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4

- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: ./package.json
node-version: 18

- name: 📥 Install deps
run: npm install

- name: ⚡ Run vitest
run: npm run test -- --coverage

deploy:
name: 🚀 Deploy
runs-on: ubuntu-latest
needs: [typecheck, vitest]
# only deploy main/dev branch on pushes
if: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && github.event_name == 'push' }}

Expand Down
8 changes: 7 additions & 1 deletion app/routes/three.scroll/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ const Scroll = () => {
>
<directionalLight position={[1, 3, 2]} intensity={1.5} />
<ambientLight intensity={0.5} />
<ScrollControls infinite damping={0.01}>
<ScrollControls infinite damping={0.01} pages={3}>
<Cube />
<Scroll html>
<mesh scale={1.5}>
<boxGeometry />
<meshStandardMaterial color="mediumpurple" />
</mesh>
</Scroll>
</ScrollControls>
</Canvas>
);
Expand Down

0 comments on commit c0ff034

Please sign in to comment.