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

23 lines
508 B
YAML
Raw Normal View History

2023-03-09 19:08:51 +00:00
name: build app
on:
push:
branches:
2023-03-18 09:56:00 +00:00
- main
2023-03-09 19:08:51 +00:00
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
2023-04-15 10:35:25 +00:00
run: docker build .