Skip to content

Update gabledroofbug.test.js #1315

Update gabledroofbug.test.js

Update gabledroofbug.test.js #1315

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: |
mkdir ../pyramid
mkdir ../ramp
mkdir ../wedge
wget -P ../pyramid https://beakerboy.github.io/Threejs-Geometries/src/PyramidGeometry.js
wget -P ../ramp https://beakerboy.github.io/Threejs-Geometries/src/RampGeometry.js
wget -P ../wedge https://beakerboy.github.io/Threejs-Geometries/src/WedgeGeometry.js
wget https://api.openstreetmap.org/api/0.6/way/285102551/full
cat full
cd ../pyramid
echo '{"name":"pyramid","type":"module","private":true,"scripts":{"test":"npx jest"}}' > "./package.json" && npm init -y
cd ../ramp
echo '{"name":"ramp","type":"module","private":true,"scripts":{"test":"npx jest"}}' > "./package.json" && npm init -y
cd ../wedge
echo '{"name":"wedge","type":"module","private":true,"scripts":{"test":"npx jest"}}' > "./package.json" && npm init -y
cd ../OSMBuilding
yarn --prod=false
- name: Lint
run: yarn run eslint .
- name: Test
run: CI=true NODE_OPTIONS="$NODE_OPTIONS --experimental-vm-modules" timeout 20s npm test
- name: Coveralls
uses: coverallsapp/github-action@v2