Bump graphql from 16.8.0 to 16.8.1 in /frontend #188
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: deploy | |
on: [push] | |
jobs: | |
frontend: | |
name: frontend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
run: | | |
cd frontend | |
yarn install | |
yarn run build | |
yarn run deploy | |
backend: | |
name: backend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.7.x' | |
- uses: google-github-actions/auth@v1 | |
with: | |
credentials_json: ${{ secrets.GCP_SA_KEY }} | |
- uses: google-github-actions/setup-gcloud@v1 | |
with: | |
version: '>= 363.0.0' | |
project_id: isnamyang | |
- run: | | |
cd backend | |
pip install -r requirements.txt | |
python manage.py test | |
- run: | | |
cd backend | |
gcloud -q app deploy app.yaml |