Format yml file #3
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: Run build for website and admin | |
on: | |
push: | |
jobs: | |
admin-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Build admin panel | |
- run: | | |
cd admin | |
npm install | |
npm run build | |
website-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Build website | |
run: | | |
cd website | |
npm install | |
npm run build |