doc: updated readme #5
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: "Code Build Check" | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-api: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installing Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Building with Cargo | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release --manifest-path backend/Cargo.toml | |
use-cross: true | |
build-app: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installing Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Installing dependencies | |
run: | | |
npm install --global yarn | |
yarn | |
working-directory: frontend | |
- name: Building the app | |
run: yarn build | |
working-directory: frontend |