Skip to content

Fix npm production build #36

Fix npm production build

Fix npm production build #36

Workflow file for this run

name: Tests
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 12.x
uses: actions/[email protected]
with:
node-version: 12.x
- name: Install composer dependencies
run: composer install --prefer-dist
- name: Install npm dependencies
run: npm install
- name: Run Mix
run: npm run production
- name: Run cp .env.example .env
run: cp .env.example .env
- name: Run php artisan key:generate
run: php artisan key:generate
- name: Run PHPUnit
run: php7.3 vendor/bin/phpunit