Skip to content

Merge pull request #60 from Elettrotecnica/update-three-to-ammo-to-1-0-2 #25

Merge pull request #60 from Elettrotecnica/update-three-to-ammo-to-1-0-2

Merge pull request #60 from Elettrotecnica/update-three-to-ammo-to-1-0-2 #25

Workflow file for this run

name: Build distribution
on:
push:
branches:
- master
paths:
- 'src/**'
- 'package.json'
- 'package-lock.json'
- 'lib/**'
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm ci
- name: Build distributions
run: npm run dist
- name: Update built distributions
run: |
git config user.name aframe-physics-system
git config user.email [email protected]
git add dist
git update-index --refresh
git diff-index --quiet HEAD dist || git commit -m "Update built distributions"
git push