fix #7
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: Frontend | |
on: push | |
jobs: | |
build-frontend: | |
name: Build frontend | |
timeout-minutes: 20 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build frontend | |
run: | | |
cd frontend | |
npm install | |
npm run build | |
- name: Pack assets | |
run: | | |
tar -cJf frontend.tar.xz frontend/dist | |
- name: Upload assets | |
uses: actions/upload-artifact@v3 | |
with: | |
name: frontend.tar.xz | |
path: frontend.tar.xz |