chat-with-gpt/.github/workflows/build.yml

23 lines
537 B
YAML
Raw Normal View History

2023-03-09 19:08:51 +00:00
name: build app
on:
push:
branches:
- '*'
jobs:
build-webapp:
2023-03-09 19:08:51 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: cd app && npm install && npm run build
build-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
2023-03-14 21:11:18 +00:00
- run: cd server && npm install && npx -y tsc
test-docker:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build containers
run: docker-compose -f "docker-compose.yml" build