Downgraded AFRAME from 1.3 to 1.2 #535
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build MYR | |
on: [push, pull_request] | |
jobs: | |
ci-checks: | |
runs-on: ubuntu-latest | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
container: | |
image: node:12.18 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup cache | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
- name: Reconfigure git to use HTTP authentication | |
run: > | |
git config --global url."https://github.com/".insteadOf | |
ssh://git@github.com/ | |
- name: Fetch packages | |
run: npm install | |
- name: Run Linter | |
run: npm run lint | |
- name: Run unit tests | |
run: npm test | |
- name: Build production build | |
run: npm run build |