This is a fork from threejs-webpack-starter containing a basic setup of three.js and webpack, and added CI/CD.
- Deployment pipeline which triggers on pushes and pull requests to main branch.
- Workflow checks whether build succeeds in production environment.
- Publishes to Netlify.
- Bumps version and tags main branch.
Follow the steps below to run this project locally. Remember to add NETLIFY_AUTH_TOKEN
and NETLIFY_SITE_ID
under repository Secrets.
- Fork this repository and clone the new one on your machine.
# Clone repository
$ git clone https://github.com/$your_username/threejs-webpack-starter-ci.git
$ cd threejs-webpack-starter-ci
- Install dependencies via NPM or Yarn
# Install dependencies via npm
$ npm install
# Install dependencies via yarn
$ yarn install
- Run the server and open a browser to visit it.
# Run server
$ npm run dev
# Run server
$ yarn dev
Open to any suggestions on how to make this better! Feel free to fork the repo - Much appreciated!