Skip to content

Commit

Permalink
Add workflow to build master distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
Galadirith committed Oct 4, 2020
1 parent d6806f8 commit aeb2884
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build distribution
on:
push:
branches:
- master
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 aframe-physics-system@github.com
git add dist
git commit -m "Update built distributions"
git push

0 comments on commit aeb2884

Please sign in to comment.