Update versions in actions #158
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: npm build | |
on: [push] | |
jobs: | |
build_fe: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: HEnquist/camillagui | |
ref: v2.0.0-alpha1 | |
- name: Build and publish | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- run: npm install | |
- run: npm run build | |
- name: Upload build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: build | |
build_be: | |
runs-on: ubuntu-latest | |
needs: build_fe | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Run python tests | |
run: python3 -m unittest discover -p "*_test.py" | |
- name: Download frontend | |
uses: actions/download-artifact@v3 | |
- name: Upload all | |
uses: actions/upload-artifact@v3 | |
with: | |
name: camillagui-backend | |
path: | | |
. | |
!.git* |