[PLA-2021] track fix #741
Workflow file for this run
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 App | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
push: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Copy config.json | |
run: | | |
cp ./resources/js/config.json.example ./resources/js/config.json | |
- name: Build static project | |
run: npm run prod-laravel | |
- name: Archive build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build | |
path: dist |