Skip to content

Commit

Permalink
Create examples for testing from three.js submodule (#524)
Browse files Browse the repository at this point in the history
* Add three.js submodule

* Create examples from submodule

* Checkout submodules

* Ignore three.js
  • Loading branch information
Methuselah96 authored Jul 4, 2023
1 parent 640d2ef commit 0a16947
Show file tree
Hide file tree
Showing 37 changed files with 11 additions and 5,978 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run create-examples
working-directory: examples-testing
- run: git apply changes.patch
working-directory: examples-testing
- run: npm run type-check
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "three.js"]
path = three.js
url = https://github.com/mrdoob/three.js
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.pnp.*
.yarn/*
three.js
186 changes: 0 additions & 186 deletions examples-testing/examples/css2d_label.ts

This file was deleted.

Loading

0 comments on commit 0a16947

Please sign in to comment.