release frontend and lambdas #75
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: verify | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_call: | |
jobs: | |
verified: | |
runs-on: ubuntu-latest | |
needs: | |
# - verify-backend | |
- verify-frontend | |
- verify-github | |
- verify-template | |
steps: | |
- uses: actions/checkout@v4 | |
- run: echo "44.481800,-88.054413" | |
# verify-backend: | |
# runs-on: ubuntu-latest | |
# services: | |
# postgres: | |
# image: postgres:16 | |
# ports: | |
# - 5432:5432 | |
# env: | |
# POSTGRES_DB: eighty4 | |
# POSTGRES_USER: eighty4 | |
# POSTGRES_PASSWORD: eighty4 | |
# options: >- | |
# --health-cmd pg_isready | |
# --health-interval 5s | |
# --health-timeout 5s | |
# --health-retries 10 | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: pnpm/action-setup@v4 | |
# - uses: actions/setup-node@v4 | |
# with: | |
# node-version: 22 | |
# cache: pnpm | |
# - name: sql | |
# run: | | |
# sudo apt-get update -y | |
# sudo apt-get install -y postgresql-client | |
# PGPASSWORD=eighty4 psql -h localhost -U eighty4 -f v001-init-schema.sql eighty4 | |
# working-directory: sql | |
# - run: pnpm i | |
# - name: verify | |
# run: | | |
# pnpm build | |
# pnpm test | |
# working-directory: backend | |
verify-frontend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: frontend | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: pnpm | |
- run: pnpm i | |
- run: VITE_GITHUB_CLIENT_ID=ci pnpm build | |
verify-github: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: pnpm | |
- name: verify | |
run: | | |
pnpm i | |
pnpm build | |
working-directory: github | |
verify-template: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: pnpm | |
- name: verify | |
shell: 'script -q -e -c "bash {0}"' | |
run: | | |
pnpm i | |
pnpm build | |
pnpm test | |
working-directory: template |