Add a GH workflow.

This commit is contained in:
Luke Curley 2023-05-22 20:12:14 -07:00
parent 226f4680a3
commit 77be6fa12d
2 changed files with 25 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: Rust
name: Server
on:
push:
@ -18,6 +18,6 @@ jobs:
- name: Build
working-directory: server
run: cargo build --verbose
- name: Run tests
- name: Test
working-directory: server
run: cargo test --verbose

23
.github/workflows/web.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Web
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install
working-directory: web
run: yarn install
- name: Build
working-directory: web
run: yarn build
- name: Lint
working-directory: web
run: yarn lint