diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 701d2c8..bc29d62 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -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 diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml new file mode 100644 index 0000000..c91c265 --- /dev/null +++ b/.github/workflows/web.yml @@ -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